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, waitinitialize, load, read, writepublic AbstractKahaDBMetaData()
public Page<T> getPage()
KahaDBMetaDatagetPage in interface KahaDBMetaData<T>public int getState()
KahaDBMetaDatagetState in interface KahaDBMetaData<T>public Location getLastUpdateLocation()
KahaDBMetaDatagetLastUpdateLocation in interface KahaDBMetaData<T>public void setPage(Page<T> page)
KahaDBMetaDatasetPage in interface KahaDBMetaData<T>page - the new Page value to use.public void setState(int value)
KahaDBMetaDatasetState in interface KahaDBMetaData<T>value - the new value to assign to the state flag.public void setLastUpdateLocation(Location location)
KahaDBMetaDatasetLastUpdateLocation in interface KahaDBMetaData<T>location - the new value to assign the last update location field.Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.