C D F G K L M O P R S W X 

C

checkForOutOfBandUpdate() - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
Check the XML file's timestamp and reload it if it has been modified since the most recent read or write by this instance.
checkState(SimpleKVTransaction) - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
Verify that the given transaction is still usable.
checkState(SimpleKVTransaction) - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
 
commit() - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
createKVDatabase(Object, KVDatabase, AtomicKVStore) - Method in class org.jsimpledb.kv.simple.MemoryKVImplementation
 
createKVDatabase(Object, KVDatabase, AtomicKVStore) - Method in class org.jsimpledb.kv.simple.XMLKVImplementation
 
createTransaction(Map<String, ?>) - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
 
createTransaction() - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
 
createTransaction() - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
 

D

DEFAULT_HOLD_TIMEOUT - Static variable in class org.jsimpledb.kv.simple.SimpleKVDatabase
Default hold timeout in milliseconds (5000L).
DEFAULT_WAIT_TIMEOUT - Static variable in class org.jsimpledb.kv.simple.SimpleKVDatabase
Default wait timeout for newly created transactions in milliseconds (500L).

F

finalize() - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
Ensure transaction is eventually rolled back if leaked due to an application bug.

G

get(byte[]) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
getAtLeast(byte[]) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
getAtMost(byte[]) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
getCommandLineOptions() - Method in class org.jsimpledb.kv.simple.MemoryKVImplementation
 
getCommandLineOptions() - Method in class org.jsimpledb.kv.simple.XMLKVImplementation
 
getDescription(Object) - Method in class org.jsimpledb.kv.simple.MemoryKVImplementation
 
getDescription(Object) - Method in class org.jsimpledb.kv.simple.XMLKVImplementation
 
getGeneration() - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
Get the generation number associated with the XML file.
getGeneration() - Method in class org.jsimpledb.kv.simple.XMLKVTransaction
Get the generation number associated with this instance.
getHoldTimeout() - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
Get the hold timeout configured for this instance.
getInitialContent() - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
Get the initial content for an uninitialized database.
getKVDatabase() - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
getRange(byte[], byte[], boolean) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
getWaitTimeout() - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
Get the wait timeout for newly created transactions.

K

kv - Variable in class org.jsimpledb.kv.simple.SimpleKVDatabase
The KVStore for the committed data.

L

log - Variable in class org.jsimpledb.kv.simple.SimpleKVDatabase
 

M

MemoryKVImplementation - Class in org.jsimpledb.kv.simple
 
MemoryKVImplementation() - Constructor for class org.jsimpledb.kv.simple.MemoryKVImplementation
 
mutableSnapshot() - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 

O

org.jsimpledb.kv.simple - package org.jsimpledb.kv.simple
A simple in-memory implementation of the KVDatabase interface.

P

parseCommandLineOptions(ArrayDeque<String>) - Method in class org.jsimpledb.kv.simple.MemoryKVImplementation
 
parseCommandLineOptions(ArrayDeque<String>) - Method in class org.jsimpledb.kv.simple.XMLKVImplementation
 
postCommit(SimpleKVTransaction, boolean) - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
Invoked during transaction commit just after writing changes to the underlying KVStore.
postCommit(SimpleKVTransaction, boolean) - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
 
preCommit(SimpleKVTransaction) - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
Invoked during transaction commit just prior to writing changes to the underlying KVStore.
put(byte[], byte[]) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 

R

readXML() - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
 
reload() - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
Forcibly reload this database by re-reading the XML file.
remove(byte[]) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
removeRange(byte[], byte[]) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
rollback() - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 

S

setHoldTimeout(long) - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
Set the hold timeout for this instance.
setInitialContentFile(File) - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
Configure the File containing default initial content for an uninitialized database.
setTimeout(long) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
setWaitTimeout(long) - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
Set the wait timeout for newly created transactions.
SimpleKVDatabase - Class in org.jsimpledb.kv.simple
Simple implementation of the KVDatabase interface that provides a concurrent, transactional view of an underlying KVStore with strong ACID semantics (Durability must be provided by the KVStore).
SimpleKVDatabase() - Constructor for class org.jsimpledb.kv.simple.SimpleKVDatabase
Constructor.
SimpleKVDatabase(KVStore) - Constructor for class org.jsimpledb.kv.simple.SimpleKVDatabase
Constructor taking caller-supplied storage.
SimpleKVDatabase(long, long) - Constructor for class org.jsimpledb.kv.simple.SimpleKVDatabase
Constructor taking timeout settings.
SimpleKVDatabase(KVStore, long, long) - Constructor for class org.jsimpledb.kv.simple.SimpleKVDatabase
Primary constructor.
SimpleKVTransaction - Class in org.jsimpledb.kv.simple
KVTransaction implementation for SimpleKVDatabase.
SimpleKVTransaction(SimpleKVDatabase, long) - Constructor for class org.jsimpledb.kv.simple.SimpleKVTransaction
Constructor.
start() - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
 
start() - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
 
stop() - Method in class org.jsimpledb.kv.simple.SimpleKVDatabase
 

W

watchKey(byte[]) - Method in class org.jsimpledb.kv.simple.SimpleKVTransaction
 
writeXML() - Method in class org.jsimpledb.kv.simple.XMLKVDatabase
 

X

XMLKVDatabase - Class in org.jsimpledb.kv.simple
Simple persistent KVDatabase backed by an XML file stored in a StreamRepository.
XMLKVDatabase(File) - Constructor for class org.jsimpledb.kv.simple.XMLKVDatabase
Constructor.
XMLKVDatabase(File, long, long) - Constructor for class org.jsimpledb.kv.simple.XMLKVDatabase
Constructor.
XMLKVDatabase(StreamRepository) - Constructor for class org.jsimpledb.kv.simple.XMLKVDatabase
Constructor.
XMLKVDatabase(StreamRepository, long, long) - Constructor for class org.jsimpledb.kv.simple.XMLKVDatabase
Constructor.
XMLKVImplementation - Class in org.jsimpledb.kv.simple
 
XMLKVImplementation() - Constructor for class org.jsimpledb.kv.simple.XMLKVImplementation
 
XMLKVTransaction - Class in org.jsimpledb.kv.simple
Transaction associated with a XMLKVDatabase.
C D F G K L M O P R S W X 

Copyright © 2016. All rights reserved.