| java.lang.Object com.caucho.server.cluster.FileBacking
FileBacking | public class FileBacking (Code) | | Manages the backing for the file store.
|
Inner Class :class ClusterConnection | |
FileBacking | public FileBacking()(Code) | | |
clearOldObjects | public void clearOldObjects(long maxIdleTime) throws SQLException(Code) | | Clears the old objects.
|
destroy | public void destroy()(Code) | | |
getPath | public Path getPath()(Code) | | Returns the path to the directory.
|
loadSelf | public boolean loadSelf(ClusterObject clusterObj, Object obj) throws Exception(Code) | | Load the session from the jdbc store.
Parameters: session - the session to fill. true if the load was valid. |
remove | public void remove(String uniqueId) throws Exception(Code) | | Removes the named object from the store.
|
setExpireInterval | public void setExpireInterval(String uniqueId, long expireInterval) throws Exception(Code) | | Sets the object's expire_interval.
Parameters: obj - the object to store. |
setPath | public void setPath(Path path)(Code) | | Sets the path to the saved file.
|
setTableName | public void setTableName(String table)(Code) | | Sets the table name
|
storeSelf | public void storeSelf(String uniqueId, ReadStream is, int length, long expireInterval, int primary, int secondary, int tertiary)(Code) | | Stores the cluster object on the local store.
Parameters: uniqueId - the object's unique id. Parameters: id - the input stream to the serialized object Parameters: length - the length object the serialized object Parameters: expireInterval - how long the object lives w/o access |
updateAccess | public void updateAccess(String uniqueId) throws Exception(Code) | | Updates the object's access time.
Parameters: obj - the object to store. |
|
|