public class ClusterStorageManager extends Object
| Constructor and Description |
|---|
ClusterStorageManager(Authenticator auth)
Initialises all ClusterStorage handlers listed by class name in the property "ClusterStorages"
This property is usually process specific, and so should be in the server/client.conf and not the connect file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort(Object locker) |
void |
begin(Object locker) |
void |
clearCache() |
void |
clearCache(ItemPath itemPath) |
void |
clearCache(ItemPath itemPath,
String path) |
void |
close() |
void |
commit(Object locker) |
void |
dumpCacheContents(int logLevel) |
C2KLocalObject |
get(ItemPath itemPath,
String path)
Internal get method.
|
String[] |
getClusterContents(ItemPath itemPath,
String path)
Retrieves the ids of the next level of a cluster
Does not look in any currently open transactions.
|
ArrayList<ClusterStorage> |
instantiateStores(String allClusters) |
void |
put(ItemPath itemPath,
C2KLocalObject obj) |
void |
put(ItemPath itemPath,
C2KLocalObject obj,
Object locker)
Internal put method.
|
void |
remove(ItemPath itemPath,
String path) |
void |
remove(ItemPath itemPath,
String path,
Object locker)
Deletes a cluster from all writers
|
public ClusterStorageManager(Authenticator auth) throws PersistencyException
PersistencyExceptionpublic ArrayList<ClusterStorage> instantiateStores(String allClusters) throws PersistencyException
PersistencyExceptionpublic void close()
public String[] getClusterContents(ItemPath itemPath, String path) throws PersistencyException
PersistencyExceptionpublic C2KLocalObject get(ItemPath itemPath, String path) throws PersistencyException, ObjectNotFoundException
public void put(ItemPath itemPath, C2KLocalObject obj) throws PersistencyException
PersistencyExceptionpublic void put(ItemPath itemPath, C2KLocalObject obj, Object locker) throws PersistencyException
PersistencyExceptionpublic void remove(ItemPath itemPath, String path) throws PersistencyException
PersistencyExceptionpublic void remove(ItemPath itemPath, String path, Object locker) throws PersistencyException
PersistencyExceptionpublic void clearCache(ItemPath itemPath)
public void clearCache()
public void dumpCacheContents(int logLevel)
public void begin(Object locker)
public void commit(Object locker) throws PersistencyException
PersistencyExceptionpublic void abort(Object locker)
Copyright © 1997–2016 CRISTAL-iSE. All rights reserved.