public class IMDB extends DB
Modifier and Type | Field and Description |
---|---|
static String |
LOG_FILE_NAME |
static String |
LOG_POSITION |
int |
maxSize |
directoryPath, logFileNames
Constructor and Description |
---|
IMDB() |
IMDB(org.agilewiki.jactor.MailboxFactory mailboxFactory,
org.agilewiki.jactor.Actor parent,
java.nio.file.Path directoryPath) |
Modifier and Type | Method and Description |
---|---|
Integer |
addInteger(String key,
Integer increment) |
void |
checkpoint(long logPosition,
long timestamp,
String logFileName,
org.agilewiki.jactor.RP rp) |
void |
closeDbFile() |
protected boolean |
generateCheckpoints() |
org.agilewiki.jid.scalar.vlens.actor.ActorJid |
getActorJid(String key) |
Boolean |
getBoolean(String key) |
org.agilewiki.jid.scalar.flens.bool.BooleanJid |
getBooleanJid(String key) |
byte[] |
getBytes(String key) |
org.agilewiki.jid.scalar.vlens.bytes.BytesJid |
getBytesJid(String key) |
Double |
getDouble(String key) |
org.agilewiki.jid.scalar.flens.dbl.DoubleJid |
getDoubleJid(String key) |
Float |
getFloat(String key) |
org.agilewiki.jid.scalar.flens.flt.FloatJid |
getFloatJid(String key) |
Integer |
getInteger(String key) |
org.agilewiki.jid.scalar.flens.integer.IntegerJid |
getIntegerJid(String key) |
org.agilewiki.jid._Jid |
getJid(String key) |
Long |
getLong(String key) |
org.agilewiki.jid.scalar.flens.lng.LongJid |
getLongJid(String key) |
String |
getString(String key) |
org.agilewiki.jid.scalar.vlens.string.StringJid |
getStringJid(String key) |
org.agilewiki.jid.collection.vlenc.map.StringMapJid |
getStringMapJid() |
Integer |
incrementInteger(String key) |
org.agilewiki.jid.scalar.vlens.actor.ActorJid |
makeActorJid(String key) |
org.agilewiki.jid.scalar.flens.bool.BooleanJid |
makeBooleanJid(String key) |
org.agilewiki.jid.scalar.vlens.bytes.BytesJid |
makeBytesJid(String key) |
org.agilewiki.jid.scalar.flens.dbl.DoubleJid |
makeDoubleJid(String key) |
org.agilewiki.jid.scalar.flens.flt.FloatJid |
makeFloatJid(String key) |
org.agilewiki.jid.scalar.flens.integer.IntegerJid |
makeIntegerJid(String key) |
org.agilewiki.jid._Jid |
makeJid(String key,
String factoryName) |
org.agilewiki.jid.scalar.flens.lng.LongJid |
makeLongJid(String key) |
protected org.agilewiki.jid.scalar.vlens.actor.RootJid |
makeRootJid() |
org.agilewiki.jid.scalar.vlens.string.StringJid |
makeStringJid(String key) |
org.agilewiki.jid.collection.vlenc.map.StringMapJid |
makeStringMapJid() |
protected Block |
newDbBlock() |
void |
openDbFile(int logReaderMaxSize,
org.agilewiki.jactor.RP rp) |
clearDirectory, getDurableTransactionLogger, getLogReader, getTransactionAggregator, initializeDb, newLogReader, newTransactionAggregator, processLogFile, setDirectoryPath
acceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacity
public static final String LOG_POSITION
public static final String LOG_FILE_NAME
public int maxSize
public IMDB()
public IMDB(org.agilewiki.jactor.MailboxFactory mailboxFactory, org.agilewiki.jactor.Actor parent, java.nio.file.Path directoryPath) throws Exception
Exception
protected boolean generateCheckpoints()
generateCheckpoints
in class DB
public void openDbFile(int logReaderMaxSize, org.agilewiki.jactor.RP rp) throws Exception
openDbFile
in class DB
Exception
public void closeDbFile()
closeDbFile
in class DB
protected Block newDbBlock()
protected org.agilewiki.jid.scalar.vlens.actor.RootJid makeRootJid() throws Exception
Exception
public org.agilewiki.jid.collection.vlenc.map.StringMapJid getStringMapJid() throws Exception
Exception
public org.agilewiki.jid.collection.vlenc.map.StringMapJid makeStringMapJid() throws Exception
Exception
public org.agilewiki.jid.scalar.vlens.actor.ActorJid getActorJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.vlens.actor.ActorJid makeActorJid(String key) throws Exception
Exception
public org.agilewiki.jid._Jid makeJid(String key, String factoryName) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.bool.BooleanJid getBooleanJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.bool.BooleanJid makeBooleanJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.integer.IntegerJid getIntegerJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.integer.IntegerJid makeIntegerJid(String key) throws Exception
Exception
public Integer addInteger(String key, Integer increment) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.lng.LongJid getLongJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.lng.LongJid makeLongJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.flt.FloatJid getFloatJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.flt.FloatJid makeFloatJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.dbl.DoubleJid getDoubleJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.flens.dbl.DoubleJid makeDoubleJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.vlens.string.StringJid getStringJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.vlens.string.StringJid makeStringJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.vlens.bytes.BytesJid getBytesJid(String key) throws Exception
Exception
public org.agilewiki.jid.scalar.vlens.bytes.BytesJid makeBytesJid(String key) throws Exception
Exception
public void checkpoint(long logPosition, long timestamp, String logFileName, org.agilewiki.jactor.RP rp) throws Exception
checkpoint
in class DB
Exception
Copyright © 2013. All Rights Reserved.