1 28 29 package com.caucho.server.cluster; 30 31 import com.caucho.log.Log; 32 import com.caucho.util.L10N; 33 import com.caucho.util.LruCache; 34 35 import java.util.ArrayList ; 36 import java.util.logging.Logger ; 37 38 41 public class DistributionManager { 42 static protected L10N L = new L10N(DistributionManager.class); 43 static protected final Logger log = Log.open(DistributionManager.class); 44 45 48 private LruCache _objects; 50 51 private Store _store; 52 private boolean _reloadEachRequest; 53 private boolean _alwaysSave; 54 private boolean _saveOnShutdown; 55 56 private ArrayList _activationListeners; 58 59 private boolean _ignoreSerializationErrors = false; 61 62 64 private boolean _isClosed; 65 66 69 public DistributionManager(Store store) 70 throws Exception 71 { 72 } 73 74 77 public Logger getDebug() 78 { 79 return log; 80 } 81 82 85 Store getStore() 86 { 87 return _store; 88 } 89 90 93 boolean getAlwaysSave() 94 { 95 return _alwaysSave; 96 } 97 98 101 boolean getSaveOnShutdown() 102 { 103 return _saveOnShutdown; 104 } 105 106 109 boolean getIgnoreSerializationErrors() 110 { 111 return _ignoreSerializationErrors; 112 } 113 114 117 public boolean isClosed() 118 { 119 return _isClosed; 120 } 121 } 122 | Popular Tags |