public class TransactionStreamResponse<T> extends Response<T>
Response that carries transaction data as a side-effect, to be applied
before accessing the response value.ResponseUnpackerResponse.Handler| Constructor and Description |
|---|
TransactionStreamResponse(T response,
org.neo4j.kernel.impl.store.StoreId storeId,
TransactionStream transactions,
ResourceReleaser releaser) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Response.Handler handler) |
boolean |
hasTransactionsToBeApplied() |
close, empty, getStoreId, responsepublic TransactionStreamResponse(T response, org.neo4j.kernel.impl.store.StoreId storeId, TransactionStream transactions, ResourceReleaser releaser)
public void accept(Response.Handler handler) throws Exception
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–2017 The Neo4j Graph Database Project. All rights reserved.