net.sf.jso.remote
Interface RemoteStorageController
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- JSOStorageController
- public interface RemoteStorageController
- extends java.rmi.Remote
Interface for remote storage controllers. Implements a subset of
StorageController
's methods.
getStatus
public Status getStatus()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
StorageController.getStatus()
getConfigurationProperties
public java.util.Properties getConfigurationProperties()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
StorageController.getConfigurationProperties()
createId
public long createId()
throws java.rmi.RemoteException,
StorageException
- Throws:
java.rmi.RemoteException
StorageException
- See Also:
StorageController.createId()
getControllerInfo
public ControllerInfo getControllerInfo()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
StorageController.getControllerInfo()
getCurrentPID
public PID getCurrentPID()
throws java.rmi.RemoteException,
StorageException
- Throws:
java.rmi.RemoteException
StorageException
- See Also:
StorageController.getCurrentPID()
getCurrentCycle
public int getCurrentCycle()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
StorageController.getCurrentCycle()
registerManager
public void registerManager(StorageManager manager)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
StorageController.registerManager(StorageManager)
unregisterManager
public void unregisterManager(StorageManager manager)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
StorageController.unregisterManager(StorageManager)
lock
public void lock(TID txid,
OID oid,
boolean exclusive,
long timeout)
throws java.rmi.RemoteException,
TransactionTimeoutException
- Throws:
java.rmi.RemoteException
TransactionTimeoutException
- See Also:
LockManager.lock(TID,OID,boolean,long)
release
public void release(TID txid,
OID oid)
throws java.rmi.RemoteException,
StorageException
- Throws:
java.rmi.RemoteException
StorageException
- See Also:
LockManager.release(TID,OID)
getLockInfo
public LockInfo getLockInfo()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
LockManager.getLockInfo()
getClassDescriptor
public ClassDescriptor getClassDescriptor(java.lang.Class aClass)
throws java.rmi.RemoteException,
StorageException
- Throws:
java.rmi.RemoteException
StorageException
- See Also:
SchemaManager.getClassDescriptor(Class)
createClassDescriptor
public ClassDescriptor createClassDescriptor(java.lang.Class aClass)
throws java.rmi.RemoteException,
StorageException
- Throws:
java.rmi.RemoteException
StorageException
- See Also:
SchemaManager.createClassDescriptor(Class)
objectStored
public void objectStored(StorageEvent event)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
StorageListener.objectStored(StorageEvent)
objectDeleted
public void objectDeleted(StorageEvent event)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
- See Also:
StorageListener.objectDeleted(StorageEvent)