| java.lang.Object org.objectweb.speedo.mim.lib.AbstractStateImpl org.objectweb.speedo.genclass.GenClassAccessor
All known Subclasses: org.objectweb.speedo.genclass.map.MapAccessor, org.objectweb.speedo.genclass.collection.CollectionAccessor,
GenClassAccessor | abstract public class GenClassAccessor extends AbstractStateImpl implements PGenClassAccessor,SpeedoGenClassCoherence(Code) | | This class represents an accessor of a genclass structure. This accessor is
used in case of the generic class is persistent.
author: S.Chassande-Barrioz |
Method Summary | |
abstract public void | attachCopy(POManagerItf pm, Map map, StateItf fieldsClone) | abstract public PIndexedElem | createPIndexedElem(GenClassAccessor gca) | public PIndexedElem | createPIndexedElem() | abstract public void | deletePersistent(POManagerItf pm) | abstract public void | detachCopy(POManagerItf pm, Map map, StateItf fieldsClone, Collection fgHints) | public Logger | getLogger() | public Object | getMemoryInstance() | public void | loadFields(POManagerItf pm, long[] fields) | abstract public void | loadFieldsFromAccessor(StateItf sa) | abstract public void | makePersistent(POManagerItf pm) | abstract public void | makePersistentOnAttach(POManagerItf pm, Map map) | public void | makeToMerge(Object thinLock) | public org.objectweb.perseus.persistence.api.State | merge(org.objectweb.perseus.persistence.api.State oldState) | public void | paAdd(PIndexedElem elem, Object conn) | public boolean | paDeltaSupported() | public int | paGetNbElem() | public Iterator | paIterator() | public void | paSetNbElem(int nbelem) | abstract public void | refresh(POManagerItf pm, Map map, Collection fgHints) | abstract public void | retrieve(POManagerItf pm, Map map, Collection fgHints) | abstract public void | setElements(Object o) | public void | setFlushed(boolean val) | abstract public boolean | speedoAdd(Object elemToAdd, Object hints) | abstract public boolean | speedoRemove(Object elemToRemove, Object hints) | public void | unSwizzle() | public void | workingSetClosed() |
elements | public List elements(Code) | | The ArrayList used to store the indexed elements of the genclass. Then
this list contains also the deleted elements.
|
logger | protected transient Logger logger(Code) | | |
supportDelta | public boolean supportDelta(Code) | | Indicates if this accessor support the dela mode
|
tmpelem | protected GenClassElement tmpelem(Code) | | A temporary variable which is used to search an element into the
"elements" list.
|
createPIndexedElem | public PIndexedElem createPIndexedElem()(Code) | | |
getLogger | public Logger getLogger()(Code) | | |
loadFieldsFromAccessor | abstract public void loadFieldsFromAccessor(StateItf sa)(Code) | | |
merge | public org.objectweb.perseus.persistence.api.State merge(org.objectweb.perseus.persistence.api.State oldState)(Code) | | |
paAdd | public void paAdd(PIndexedElem elem, Object conn) throws PExceptionIO(Code) | | |
paDeltaSupported | public boolean paDeltaSupported()(Code) | | |
paGetNbElem | public int paGetNbElem()(Code) | | |
paSetNbElem | public void paSetNbElem(int nbelem)(Code) | | |
setFlushed | public void setFlushed(boolean val)(Code) | | When the gen class is flushed to the data support (parameter = true),
the internal structure is clean: - really remove the deleted element -
mark the genclass as supporting the delta
|
unSwizzle | public void unSwizzle()(Code) | | |
workingSetClosed | public void workingSetClosed()(Code) | | At the end of the working set, the writing mode is initialized
(deltaSupported), and the reference to the persistent are unswilled
|
|
|