org.neo4j.kernel.ha
Class Response<T>

java.lang.Object
  extended by org.neo4j.kernel.ha.Response<T>
Direct Known Subclasses:
FailedResponse

public class Response<T>
extends Object


Constructor Summary
Response(T response, TransactionStreams transactions)
           
 
Method Summary
 T response()
           
 TransactionStreams transactions()
           
static
<R> Response<R>
wrapResponseObjectOnly(R response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Response

public Response(T response,
                TransactionStreams transactions)
Method Detail

response

public T response()
           throws MasterFailureException
Throws:
MasterFailureException

transactions

public TransactionStreams transactions()

wrapResponseObjectOnly

public static <R> Response<R> wrapResponseObjectOnly(R response)


Copyright © 2010 The Neo4j Graph Database Project. All Rights Reserved.