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

Uses in package org.objectweb.perseus.persistence.api

Classes implementing org.objectweb.perseus.persistence.api.State

class
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 of type org.objectweb.perseus.persistence.api.State

State

Methods with parameter type org.objectweb.perseus.persistence.api.State

boolean
void
This method can be used to mark the end of an access to a data object.
State
WorkingSet.bind(State state, Object oid, byte mode)
Attaches an entry to the working set.
State
Creates a new State.
void
Removes a state.
void
This method permits to flush entries associated to a context.
boolean
boolean
boolean
boolean
void
Marks the status of the state to 'clean' (non modified).
void
Marks the status of the state to 'dirty' (modified).
void
Marks the status of the state to 'exported' (created).
void
Marks the status of the state to 'flushed' (written on data support).
void
Marks the status of the state to 'unexported' (deleted).
void
StorageManager.read(ConnectionHolder context, Object oid, State state)
Reads data of a persistent from the support object and puts them into an instance.
void
StorageManager.read(WorkingSet context, Object oid, State state)
Reads data of a persistent from the support object and puts them into an instance.
void
StateManager.setReferenceState(CacheEntry ce, State state)
Assignes the reference state to a cache entry
void
StorageManager.write(ConnectionHolder context, Object oid, State state)
Reads data of a persistent from the support object and puts them into an instance.

Methods with return type org.objectweb.perseus.persistence.api.State

State
WorkingSet.bind(State state, Object oid, byte mode)
Attaches an entry to the working set.
State
StateManager.createState(CacheEntry ce)
Creates a new State.
State
Creates a new State.
State
PersistenceManager.export(WorkingSet context, Object obj)
Given an object, this method creates the corresponding copy in permanent support.
State
PersistenceManager.export(WorkingSet context, Object obj, Object hints)
This method permits to given some information to build the identifier of the new persistent object.
State
State
WorkingSet.lookup(Object oid)
State
PersistenceManager.readIntention(WorkingSet context, CacheEntry ce)
This method records an access intention to a data object in read mode.
State
This method records an access intention to a data object in read mode.
State
PersistenceManager.unexport(WorkingSet context, CacheEntry ce)
Deletes the binding between an in main-memory object, and its corresponding copy in permanent support.
State
PersistenceManager.unexport(WorkingSet context, Object oid)
Deletes the binding between an in main-memory object, and its corresponding copy in permanent support.
State
PersistenceManager.writeIntention(WorkingSet context, CacheEntry ce)
This method records an access intention to a data object in write mode.
State
This method records an access intention to a data object in write mode.

Uses in package org.objectweb.perseus.persistence.lib

Methods with parameter type org.objectweb.perseus.persistence.api.State

void
This method can be used to mark the end of an access to a data object.
State
BasicWorkingSet.bind(State state, Object oid, byte mode)
Attaches an entry to the transaction.
void
void
This method permits to flush entries associated to a context.

Methods with return type org.objectweb.perseus.persistence.api.State

State
BasicWorkingSet.bind(State state, Object oid, byte mode)
Attaches an entry to the transaction.
State
Given an object, this method creates the corresponding copy in permanent support.
State
TransactionalPersistenceManagerImpl.export(WorkingSet ws, Object obj, Object hints)
This method permits to given some information to build the identifier of the new persistent object.
State
BasicWorkingSet.lookup(Object oid)
State
This method records an access intention to a data object in read mode.
State
This method records an access intention to a data object in read mode.
State
Deletes the binding between an in main-memory object, and its corresponding copy in permanent support.
State
Deletes the binding between an in main-memory object, and its corresponding copy in permanent support.
State
This method records an access intention to a data object in write mode.
State
This method records an access intention to a data object in write mode.

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