Modifier and Type | Field and Description |
---|---|
static String |
BDB_DIR_PROPERTY
The BDB-JE environment directory property.
|
static String |
DEFAULT_BDB_DIR
The default BDB-JE environment directory.
|
Constructor and Description |
---|
BDBBackEnd() |
Modifier and Type | Method and Description |
---|---|
void |
beginUpdates()
Begins updates.
|
void |
close()
Closes.
|
void |
commit()
Commits.
|
StoreValues |
createResponse(StoreValuesQuery query,
Optional<Identity> identity)
Creates store values for a store query.
|
int |
delete(VersionedValue versionedValue)
Deletes a point value.
|
void |
endUpdates()
Ends updates.
|
void |
open()
Opens.
|
void |
rollback()
Rolls back.
|
boolean |
setUp(TheStoreServiceAppImpl theStoreAppImpl)
Sets up the back end.
|
boolean |
supportsCount()
Asks if the back end supports count.
|
void |
tearDown()
Tears down what has been set up.
|
void |
update(VersionedValue versionedValue)
Updates a point value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newArchiver, purge, supportsPurge
public static final String BDB_DIR_PROPERTY
public static final String DEFAULT_BDB_DIR
public void beginUpdates()
beginUpdates
in interface BackEnd
public StoreValues createResponse(StoreValuesQuery query, Optional<Identity> identity)
createResponse
in interface BackEnd
query
- The store query.identity
- The optional requesting identity.public int delete(VersionedValue versionedValue)
public void endUpdates()
endUpdates
in interface BackEnd
public void open() throws ServiceNotAvailableException
open
in interface BackEnd
ServiceNotAvailableException
- On failure.public boolean setUp(TheStoreServiceAppImpl theStoreAppImpl)
public boolean supportsCount()
supportsCount
in interface BackEnd
public void tearDown()
public void update(VersionedValue versionedValue)
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.