org.infinispan.remoting.responses
Class DistributionResponseGenerator

java.lang.Object
  extended by org.infinispan.remoting.responses.DistributionResponseGenerator
All Implemented Interfaces:
ResponseGenerator
Direct Known Subclasses:
NoReturnValuesDistributionResponseGenerator

public class DistributionResponseGenerator
extends Object
implements ResponseGenerator

A response generator for the DIST cache mode

Since:
4.0
Author:
Manik Surtani

Constructor Summary
DistributionResponseGenerator()
           
 
Method Summary
 Response getResponse(CacheRpcCommand command, Object returnValue)
           
protected  Response handleWriteCommand(WriteCommand wc, Object returnValue)
           
 void inject(DistributionManager distributionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributionResponseGenerator

public DistributionResponseGenerator()
Method Detail

inject

public void inject(DistributionManager distributionManager)

getResponse

public Response getResponse(CacheRpcCommand command,
                            Object returnValue)
Specified by:
getResponse in interface ResponseGenerator

handleWriteCommand

protected Response handleWriteCommand(WriteCommand wc,
                                      Object returnValue)

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.