public abstract class AbstractKahaDBMetaData<T> extends Object implements KahaDBMetaData<T>
CLOSED_STATE, OPEN_STATE
Constructor and Description |
---|
AbstractKahaDBMetaData() |
Modifier and Type | Method and Description |
---|---|
Location |
getLastUpdateLocation()
Returns the Journal Location value that indicates that last recorded update
that was successfully performed for this KahaDB store implementation.
|
Page<T> |
getPage()
Gets the Page in the store PageFile where the KahaDBMetaData instance is stored.
|
int |
getState()
Gets the state flag of this meta data instance.
|
void |
setLastUpdateLocation(Location location)
Updates the value of the last successful update.
|
void |
setPage(Page<T> page)
Sets the Page instance used to load and store the KahaDBMetaData instance.
|
void |
setState(int value)
Sets the current value of the state flag.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, load, read, write
public AbstractKahaDBMetaData()
public Page<T> getPage()
KahaDBMetaData
getPage
in interface KahaDBMetaData<T>
public int getState()
KahaDBMetaData
getState
in interface KahaDBMetaData<T>
public Location getLastUpdateLocation()
KahaDBMetaData
getLastUpdateLocation
in interface KahaDBMetaData<T>
public void setPage(Page<T> page)
KahaDBMetaData
setPage
in interface KahaDBMetaData<T>
page
- the new Page value to use.public void setState(int value)
KahaDBMetaData
setState
in interface KahaDBMetaData<T>
value
- the new value to assign to the state flag.public void setLastUpdateLocation(Location location)
KahaDBMetaData
setLastUpdateLocation
in interface KahaDBMetaData<T>
location
- the new value to assign the last update location field.Copyright © 2005–2018. All rights reserved.