public interface JEWrapper
| Modifier and Type | Method and Description |
|---|---|
void |
abort(Object transaction)
Aborts a transaction.
|
Object |
beginTransaction()
Begins a transaction.
|
void |
close()
Closes.
|
void |
closeCursor(Object wrapperCursor)
Closes wrapper a cursor.
|
void |
commit(Object transaction)
Commits a transaction.
|
long |
countPointValues(Object wrapperCursor)
Counts point values.
|
int |
delete(Object transaction,
VersionedValue pointValue)
Deletes a point value from the archive.
|
Object |
getCursor(StoreCursor storeCursor)
Gets a wrapper cursor object.
|
Optional<VersionedValue> |
nextPointValue(Object wrapperCursor)
Returns the next point value.
|
void |
open()
Opens.
|
void |
put(Object transaction,
VersionedValue pointValue)
Puts a point value into the archive.
|
boolean |
setUp(File home,
boolean snapshot,
boolean pullDisabled)
Sets up the environment and the database.
|
void |
tearDown()
Tears down what has been set up.
|
static final ClassDef IMPL
void abort(@Nonnull
Object transaction)
throws JEWrapperException
transaction - The transaction handle.JEWrapperException - To wrap exceptions.@Nonnull
@CheckReturnValue
Object beginTransaction()
throws JEWrapperException
JEWrapperException - To wrap exceptions.void close()
throws JEWrapperException
JEWrapperException - To wrap exceptions.void closeCursor(@Nonnull
Object wrapperCursor)
throws JEWrapperException
wrapperCursor - The wrapper cursor object.JEWrapperException - To wrap exceptions.void commit(@Nonnull
Object transaction)
throws JEWrapperException
transaction - The transaction handle.JEWrapperException - To wrap exceptions.@CheckReturnValue
long countPointValues(@Nonnull
Object wrapperCursor)
wrapperCursor - A wrapper cursor object.@CheckReturnValue
int delete(@Nonnull
Object transaction,
@Nonnull
VersionedValue pointValue)
throws JEWrapperException
transaction - The transaction handle.pointValue - The point value.JEWrapperException - To wrap exceptions.@Nonnull
@CheckReturnValue
Object getCursor(@Nonnull
StoreCursor storeCursor)
storeCursor - The store cursor.@Nonnull @CheckReturnValue Optional<VersionedValue> nextPointValue(@Nonnull Object wrapperCursor)
wrapperCursor - A wrapper cursor object.void open() throws JEWrapperException
JEWrapperException - To wrap exceptions.void put(@Nonnull
Object transaction,
@Nonnull
VersionedValue pointValue)
throws JEWrapperException
transaction - The transaction handle.pointValue - The point value.JEWrapperException - To wrap exceptions.@CheckReturnValue
boolean setUp(@Nonnull
File home,
boolean snapshot,
boolean pullDisabled)
throws JEWrapperException
home - The configuration.snapshot - True in snapshot mode.pullDisabled - True if pull is disabled.JEWrapperException - To wrap exceptions.void tearDown()
throws JEWrapperException
JEWrapperException - To wrap exceptions.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.