public class TransactionObligationResponse<T> extends Response<T>
Response
that carries transaction obligation as a side-effect.TransactionObligationFulfiller
Response.Handler
Modifier and Type | Field and Description |
---|---|
static byte |
RESPONSE_TYPE |
Constructor and Description |
---|
TransactionObligationResponse(T response,
org.neo4j.kernel.impl.store.StoreId storeId,
long obligationTxId,
ResourceReleaser releaser) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Response.Handler handler) |
boolean |
hasTransactionsToBeApplied() |
close, empty, getStoreId, response
public static final byte RESPONSE_TYPE
public TransactionObligationResponse(T response, org.neo4j.kernel.impl.store.StoreId storeId, long obligationTxId, ResourceReleaser releaser)
public void accept(Response.Handler handler) throws IOException
accept
in class Response<T>
IOException
public boolean hasTransactionsToBeApplied()
hasTransactionsToBeApplied
in class Response<T>
true
if this response has transactions to be applied as part of unpacking it,
otherwise false
.Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.