Package com.softwaremining.util
Class CachedData_Helper
java.lang.Object
com.softwaremining.util.CachedData_Helper
for internal use only
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Log
protected static HashMap
<String, IndexedHashMap> Contains a set of className vs IndexedHashMap variables -
Method Summary
Modifier and TypeMethodDescriptionstatic void
close
(AbstractBasePersistence wrapper) for internal use onlystatic final void
first
(AbstractBasePersistence wrapper, int currentPosition) for internal use onlystatic IndexedHashMap
get an instance of the memoryTable from the static haspmap If it hasn't been created before - then createstatic boolean
static final void
last
(AbstractBasePersistence wrapper, int currentPosition) for internal use onlystatic final int
load
(AbstractBasePersistence wrapper, String theKey, int currentPosition) for internal use onlystatic int
nextRecord
(AbstractBasePersistence wrapper, int currentPosition) for internal use onlystatic final int
prev
(AbstractBasePersistence wrapper, int currentPosition) for internal use onlystatic final int
read
(AbstractBasePersistence wrapper, int currentPosition) for internal use only
-
Field Details
-
log
-
memoryMaps
Contains a set of className vs IndexedHashMap variables
-
-
Method Details
-
close
for internal use only -
nextRecord
public static int nextRecord(AbstractBasePersistence wrapper, int currentPosition) throws IOStatusException for internal use only- Throws:
IOStatusException
-
prev
public static final int prev(AbstractBasePersistence wrapper, int currentPosition) throws IOStatusException for internal use only- Throws:
IOStatusException
-
first
public static final void first(AbstractBasePersistence wrapper, int currentPosition) throws IOStatusException for internal use only- Throws:
IOStatusException
-
last
public static final void last(AbstractBasePersistence wrapper, int currentPosition) throws IOStatusException for internal use only- Throws:
IOStatusException
-
load
public static final int load(AbstractBasePersistence wrapper, String theKey, int currentPosition) throws IOStatusException for internal use only- Throws:
IOStatusException
-
read
public static final int read(AbstractBasePersistence wrapper, int currentPosition) throws IOStatusException for internal use only- Throws:
IOStatusException
-
getMemeoryTableInstance
get an instance of the memoryTable from the static haspmap If it hasn't been created before - then create- Parameters:
className
-- Returns:
-
isMemoryTableAlreadyCreated
-