|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use State | |
---|---|
org.objectweb.perseus.persistence.api | |
org.objectweb.perseus.persistence.lib |
Uses of State in org.objectweb.perseus.persistence.api |
---|
Classes in org.objectweb.perseus.persistence.api that implement State | |
class |
VirtualState
This simple implementation of the State interface can be used in order to simulate a State into a Working set in case of cache eviction. |
Fields in org.objectweb.perseus.persistence.api declared as State | |
static State |
VirtualState.instance
|
Methods in org.objectweb.perseus.persistence.api that return State | |
State |
WorkingSet.lookup(java.lang.Object oid)
|
State |
WorkingSet.bind(State state,
java.lang.Object oid,
byte mode)
Attaches an entry to the working set. |
State |
PersistenceManager.export(WorkingSet context,
java.lang.Object obj)
Given an object, this method creates the corresponding copy in permanent support. |
State |
PersistenceManager.export(WorkingSet context,
java.lang.Object obj,
java.lang.Object hints)
This method permits to given some information to build the identifier of the new persistent object. |
State |
PersistenceManager.unexport(WorkingSet context,
java.lang.Object oid)
Deletes the binding between an in main-memory object, and its corresponding copy in permanent support. |
State |
PersistenceManager.readIntention(WorkingSet context,
java.lang.Object oid,
java.lang.Object thinLock)
This method records an access intention to a data object in read mode. |
State |
PersistenceManager.writeIntention(WorkingSet context,
java.lang.Object oid,
java.lang.Object thinLock)
This method records an access intention to a data object in write mode. |
State |
StateManager.createState(CacheEntry ce)
Creates a new State. |
State |
StateManager.getReferenceState(CacheEntry ce)
|
State |
StateManager.merge(State oldState,
State newState)
Merges a state (newState) into a oldSate. |
Methods in org.objectweb.perseus.persistence.api with parameters of type State | |
State |
WorkingSet.bind(State state,
java.lang.Object oid,
byte mode)
Attaches an entry to the working set. |
void |
StorageManager.read(ConnectionHolder context,
java.lang.Object oid,
State state)
Reads data of a persistent from the support object and puts them into an instance. |
void |
StorageManager.read(WorkingSet context,
java.lang.Object oid,
State state)
Reads data of a persistent from the support object and puts them into an instance. |
void |
StorageManager.write(ConnectionHolder context,
java.lang.Object oid,
State state)
Reads data of a persistent from the support object and puts them into an instance. |
void |
PersistenceManager.accessCompletion(WorkingSet context,
State ce)
This method can be used to mark the end of an access to a data object. |
void |
PersistenceManager.flush(WorkingSet context,
State state)
This method permits to flush entries associated to a context. |
boolean |
StateFilter.accept(State ce)
|
void |
StateManager.setReferenceState(CacheEntry ce,
State state)
Assignes the reference state to a cache entry |
void |
StateManager.destroyState(State state)
Removes a state. |
void |
StateManager.makeUnexported(State state)
Marks the status of the state to 'unexported' (deleted). |
boolean |
StateManager.isUnexported(State state)
|
void |
StateManager.makeExported(State state)
Marks the status of the state to 'exported' (created). |
boolean |
StateManager.isExported(State state)
|
void |
StateManager.makeDirty(State state)
Marks the status of the state to 'dirty' (modified). |
boolean |
StateManager.isDirty(State state)
|
void |
StateManager.makeClean(State state)
Marks the status of the state to 'clean' (non modified). |
void |
StateManager.makeFlushed(State state)
Marks the status of the state to 'flushed' (written on data support). |
boolean |
StateManager.isFlushed(State state)
|
boolean |
StateManager.isToMerge(State state)
Indicates if a State has to be merged at commit time with the reference state |
void |
StateManager.makeToMerge(State state,
java.lang.Object thinLock)
Marks the flag 'toMerge' on a state. |
State |
StateManager.merge(State oldState,
State newState)
Merges a state (newState) into a oldSate. |
void |
StateManager.stateNoMoreUsed(State state)
Indicates that this state is no more used by any working set. |
Uses of State in org.objectweb.perseus.persistence.lib |
---|
Methods in org.objectweb.perseus.persistence.lib that return State | |
State |
BasicWorkingSet.lookup(java.lang.Object oid)
|
State |
BasicWorkingSet.bind(State state,
java.lang.Object oid,
byte mode)
Attaches an entry to the transaction. |
State |
TransactionalPersistenceManagerImpl.export(WorkingSet ws,
java.lang.Object obj)
|
State |
TransactionalPersistenceManagerImpl.export(WorkingSet ws,
java.lang.Object obj,
java.lang.Object hints)
|
State |
TransactionalPersistenceManagerImpl.unexport(WorkingSet ws,
java.lang.Object oid)
|
State |
TransactionalPersistenceManagerImpl.readIntention(WorkingSet ws,
java.lang.Object oid,
java.lang.Object thinLock)
|
State |
TransactionalPersistenceManagerImpl.writeIntention(WorkingSet ws,
java.lang.Object oid,
java.lang.Object thinLock)
|
State |
TransactionalPersistenceManagerImpl._writeIntention(WorkingSet ws,
CacheEntry ce,
java.lang.Object thinLock)
|
Methods in org.objectweb.perseus.persistence.lib with parameters of type State | |
State |
BasicWorkingSet.bind(State state,
java.lang.Object oid,
byte mode)
Attaches an entry to the transaction. |
protected void |
TransactionalPersistenceManagerImpl.bindCeInWS(State state,
WorkingSet ws,
byte mode)
Deprecated. Attaches a state to a working Set. |
void |
TransactionalPersistenceManagerImpl.accessCompletion(WorkingSet ws,
State ce)
This method can be used to mark the end of an access to a data object. |
void |
TransactionalPersistenceManagerImpl.flush(WorkingSet ws,
State stateToFlush)
This method permits to flush entries associated to a context. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |