public class GCUBERINoPersistenceManager extends GCUBERIPersistenceManager
GCUBERIPersistenceManager.GCUBERIPersistenceManager.StateChangeConsumer, GCUBERIPersistenceManager.StateNotFoundExceptionctxt, excludes, logger, profile| Constructor and Description |
|---|
GCUBERINoPersistenceManager(GCUBEServiceContext ctxt,
GCUBERIPersistenceManagerProfile profile)
Creates a new instance for a given service and from a given configuration profile.
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commits the state of the running instance.
|
protected void |
commitState()
Invoked by
GCUBERIPersistenceManager.commit() to commit the state of the running instance. |
void |
recover()
Recovers the state of the running instance.
|
protected void |
recoverState()
Invoked by
GCUBERIPersistenceManager.recover() to recover the state of the running instance. |
exclude, getCommit, setCommit, setLoggerpublic GCUBERINoPersistenceManager(GCUBEServiceContext ctxt, GCUBERIPersistenceManagerProfile profile)
ctxt - the context of the service.profile - the configuration profile.public void recover()
throws Exception
recover in class GCUBERIPersistenceManagerException - if the state could not be recovered.public void commit()
throws Exception
commit in class GCUBERIPersistenceManagerException - if the state could not be committed.protected void commitState()
throws Exception
GCUBERIPersistenceManager.commit() to commit the state of the running instance.commitState in class GCUBERIPersistenceManagerException - if the state could not be committed.protected void recoverState()
throws GCUBERIPersistenceManager.StateNotFoundException,
Exception
GCUBERIPersistenceManager.recover() to recover the state of the running instance.recoverState in class GCUBERIPersistenceManagerException - if the state could not be recovered.GCUBERIPersistenceManager.StateNotFoundExceptionCopyright © 2015. All Rights Reserved.