public class BFTSmartServer<K,V>
Constructor and Description |
---|
BFTSmartServer(int id,
org.jetbrains.exposed.sql.Database db,
java.lang.String tableName) |
Modifier and Type | Method and Description |
---|---|
byte[] |
appExecuteBatch(byte[] command,
bftsmart.tom.MessageContext[] mcs) |
byte[] |
appExecuteUnordered(byte[] command,
bftsmart.tom.MessageContext msgCtx) |
org.jetbrains.exposed.sql.Database |
getDb() |
int |
getId() |
bftsmart.tom.ServiceReplica |
getReplica() |
byte[] |
getSnapshot() |
JDBCHashMap<K,V> |
getTable() |
void |
installSnapshot(byte[] bytes) |
public BFTSmartServer(int id, org.jetbrains.exposed.sql.Database db, java.lang.String tableName)
public JDBCHashMap<K,V> getTable()
public bftsmart.tom.ServiceReplica getReplica()
public byte[] appExecuteUnordered(byte[] command, bftsmart.tom.MessageContext msgCtx)
public byte[] appExecuteBatch(byte[] command, bftsmart.tom.MessageContext[] mcs)
public byte[] getSnapshot()
public void installSnapshot(byte[] bytes)
public int getId()
public org.jetbrains.exposed.sql.Database getDb()