|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.cluster.Store
public class Store
Application view of the store, e.g. a specific session manager.
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Method Summary | |
|---|---|
ClusterObject |
createClusterObject(java.lang.String objectId,
int primary,
int secondary,
int tertiary)
Returns a ClusterObject. |
long |
getAccessWindowTime()
Returns the length of time an idle object can remain in the store before being cleaned. |
HashKey |
getId()
Gets the store identifier. |
long |
getMaxIdleTime()
Returns the max idle time. |
java.lang.String |
getName()
Gets the store name |
ObjectManager |
getObjectManager()
Returns the object manager. |
StoreManager |
getStoreManager()
Returns the store manager. |
boolean |
isAlwaysLoad()
Returns true if the object should always be loaded. |
boolean |
isAlwaysSave()
Returns true if the object should always be saved. |
void |
setAlwaysLoad(boolean isAlwaysLoad)
Set true if the object should always be loaded. |
void |
setAlwaysSave(boolean isAlwaysSave)
Set true if the object should always be saved. |
void |
setMaxIdleTime(long maxIdleTime)
Sets the max idle time. |
void |
setName(java.lang.String name)
Sets the store name |
void |
setObjectManager(ObjectManager obj)
Sets the object manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger log
| Method Detail |
|---|
public HashKey getId()
public java.lang.String getName()
public void setName(java.lang.String name)
public long getMaxIdleTime()
public void setMaxIdleTime(long maxIdleTime)
public long getAccessWindowTime()
public boolean isAlwaysLoad()
public void setAlwaysLoad(boolean isAlwaysLoad)
public void setAlwaysSave(boolean isAlwaysSave)
public boolean isAlwaysSave()
public ObjectManager getObjectManager()
public void setObjectManager(ObjectManager obj)
public StoreManager getStoreManager()
public ClusterObject createClusterObject(java.lang.String objectId,
int primary,
int secondary,
int tertiary)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||