Uses of Interface
org.objectweb.perseus.persistence.api.State

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 StateManager.createState(CacheEntry ce)
          Creates a new State.
 State StateManager.getReferenceState(CacheEntry ce)
           
 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)
          This method records an access intention to a data object in read mode.
 State PersistenceManager.writeIntention(WorkingSet context, java.lang.Object oid)
          This method records an access intention to a data object in write mode.
 

Methods in org.objectweb.perseus.persistence.api with parameters of type State
 boolean StateFilter.accept(State ce)
           
 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 WorkingSet.bind(State state, java.lang.Object oid)
          Attaches an entry to the working set.
 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)
           
 void PersistenceManager.accessCompletion(WorkingSet context, State ce)
          This method can be used to mark the end of an access to a data object.
 

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 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)
           
 State TransactionalPersistenceManagerImpl.writeIntention(WorkingSet ws, java.lang.Object oid)
           
 

Methods in org.objectweb.perseus.persistence.lib with parameters of type State
 void BasicWorkingSet.bind(State state, java.lang.Object oid)
          Attaches an entry to the transaction.
protected  void TransactionalPersistenceManagerImpl.bindCeInWS(State state, WorkingSet ws)
          Attaches a state to a working Set and fixes the entry in the cache manager if it is not already done.
 void TransactionalPersistenceManagerImpl.accessCompletion(WorkingSet ws, State ce)
          This method can be used to mark the end of an access to a data object.
 



Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.