| Methods in org.neo4j.com that return Response |
Response<R> |
MasterCaller.callMaster(M master,
SlaveContext context,
org.jboss.netty.buffer.ChannelBuffer input,
org.jboss.netty.buffer.ChannelBuffer target)
|
static Response<Void> |
MasterUtil.getTransactions(org.neo4j.kernel.GraphDatabaseAPI graphDb,
String dataSourceName,
long startTx,
long endTx)
Given a data source name, a start and an end tx, this method extracts
these transactions (inclusive) in a transaction stream and encapsulates
them in a Response object, ready to be returned to the slave. |
static
|
MasterUtil.packResponse(org.neo4j.kernel.GraphDatabaseAPI graphDb,
SlaveContext context,
T response,
org.neo4j.helpers.Predicate<Long> filter)
After having created the response for a slave, this method compares its
context against the local (master's) context and creates a transaction
stream containing all the transactions the slave does not currently
have. |
static
|
MasterUtil.packResponseWithoutTransactionStream(org.neo4j.kernel.GraphDatabaseAPI graphDb,
SlaveContext context,
T response)
|
protected
|
Client.sendRequest(RequestType<M> type,
SlaveContext context,
Serializer serializer,
Deserializer<R> deserializer)
|
protected
|
Client.sendRequest(RequestType<M> type,
SlaveContext context,
Serializer serializer,
Deserializer<R> deserializer,
org.neo4j.kernel.impl.nioneo.store.StoreId specificStoreId)
|