public class ResponsePacker extends Object
| Constructor and Description |
|---|
ResponsePacker(org.neo4j.kernel.impl.transaction.log.LogicalTransactionStore transactionStore,
org.neo4j.kernel.impl.transaction.log.TransactionIdStore transactionIdStore,
Supplier<org.neo4j.kernel.impl.store.StoreId> storeId) |
| Modifier and Type | Method and Description |
|---|---|
<T> Response<T> |
packEmptyResponse(T response) |
<T> Response<T> |
packTransactionObligationResponse(RequestContext context,
T response) |
<T> Response<T> |
packTransactionObligationResponse(RequestContext context,
T response,
long obligationTxId) |
<T> Response<T> |
packTransactionStreamResponse(RequestContext context,
T response) |
public ResponsePacker(org.neo4j.kernel.impl.transaction.log.LogicalTransactionStore transactionStore,
org.neo4j.kernel.impl.transaction.log.TransactionIdStore transactionIdStore,
Supplier<org.neo4j.kernel.impl.store.StoreId> storeId)
public <T> Response<T> packTransactionStreamResponse(RequestContext context, T response)
public <T> Response<T> packTransactionObligationResponse(RequestContext context, T response)
public <T> Response<T> packTransactionObligationResponse(RequestContext context, T response, long obligationTxId)
public <T> Response<T> packEmptyResponse(T response)
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.