|
||||||||||
| 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.
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Method Summary | |
|---|---|
void |
access(java.lang.String objectId)
Updates the object's access time. |
ClusterObject |
createClusterObject(java.lang.String objectId)
Returns a ClusterObject. |
long |
getAccessWindowTime()
Returns the length of time an idle object can remain in the store before being cleaned. |
java.lang.String |
getId()
Gets the store identifier. |
long |
getMaxIdleTime()
Returns the max idle time. |
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 |
remove(java.lang.String objectId)
When the object is no longer valid, remove it from the backing store. |
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 |
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 java.lang.String getId()
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)
public void access(java.lang.String objectId)
throws java.lang.Exception
obj - the object to update.
java.lang.Exception
public void remove(java.lang.String objectId)
throws java.lang.Exception
key - the object's id
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||