|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.cluster.ClusterObject
public class ClusterObject
Data for the cluster's object.
| Method Summary | |
|---|---|
void |
access()
Marks the object as accessed. |
void |
change()
Signals that the object has been changed by the application, i.e. |
long |
getAccessWindow()
Returns the access window. |
long |
getExpireInterval()
Sets the max access time. |
long |
getMaxIdleTime()
Returns the max idle time. |
java.lang.String |
getObjectId()
Returns the object id. |
Store |
getStore()
Returns the store. |
java.lang.String |
getStoreId()
Returns the store id. |
StoreManager |
getStoreManager()
Returns the store manager. |
java.lang.String |
getUniqueId()
Returns the unique id. |
boolean |
load(java.lang.Object obj)
Loads the object from the cluster. |
ReadStream |
openRead()
Reads the current value |
void |
remove()
Removes the object from the cluster. |
void |
removeImpl()
Removes the object from the cluster. |
void |
setAccessTime(long accessTime)
Sets the access time. |
void |
setExpireInterval(long expireInterval)
Sets the max access time. |
void |
setMaxIdleTime(long maxIdleTime)
Sets the max idle time. |
void |
setObjectManager(ObjectManager objectManager)
|
void |
setPrimary(boolean primary)
Sets true for the primary server. |
void |
setValid()
Sets the object's saved update count |
void |
store(java.lang.Object obj)
Saves the object to the cluster. |
void |
update()
Signals that the object has been updated externally, i.e. |
void |
write(java.io.InputStream is)
Writes updated values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setObjectManager(ObjectManager objectManager)
public Store getStore()
public StoreManager getStoreManager()
public java.lang.String getStoreId()
public java.lang.String getObjectId()
public java.lang.String getUniqueId()
public long getMaxIdleTime()
public void setMaxIdleTime(long maxIdleTime)
public long getAccessWindow()
public void setPrimary(boolean primary)
public void setValid()
public boolean load(java.lang.Object obj)
public void update()
public void change()
public void access()
public void setAccessTime(long accessTime)
public long getExpireInterval()
public void setExpireInterval(long expireInterval)
public void store(java.lang.Object obj)
throws java.io.IOException
java.io.IOException
public void write(java.io.InputStream is)
throws java.io.IOException
java.io.IOException
public ReadStream openRead()
throws java.io.IOException
java.io.IOExceptionpublic void remove()
public void removeImpl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||