/** * return a new reply processor for this class, for use in relaying a response. * This <b>must</b> be an instance method so subclasses can override it * properly. */ RemoteOperationResponse createReplyProcessor(PartitionedRegion r, Set recipients) { return new RemoteOperationResponse(r.getSystem(), recipients); }
@Override PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients, final TXStateInterface tx) { // r.getCache().getLogger().warning("PutMessage.createReplyProcessor()", new // Exception("stack trace")); return new IndexCreationResponse(r.getSystem(), recipients, tx); }
@Override PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients, final TXStateInterface tx) { return new FetchKeysResponse(r.getSystem(), r, recipients, tx); }
@Override PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients, final TXStateInterface tx) { // r.getCache().getLogger().warning("PutMessage.createReplyProcessor()", new // Exception("stack trace")); return new RemoveIndexesResponse(r.getSystem(), recipients, tx); }
/** * return a new reply processor for this class, for use in relaying a response. * This <b>must</b> be an instance method so subclasses can override it * properly. */ PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients) { return new PartitionResponse(r.getSystem(), recipients); }
@Override PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients) { return new RemoveIndexesResponse(r.getSystem(), recipients); }
/** * return a new reply processor for this class, for use in relaying a * response. This <b>must</b> be an instance method so subclasses can override * it properly. */ RemoteOperationResponse createReplyProcessor(PartitionedRegion r, Set recipients) { return new RemoteOperationResponse(r.getSystem(), recipients); }
/** * return a new reply processor for this class, for use in relaying a response. * This <b>must</b> be an instance method so subclasses can override it * properly. */ PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients, final TXStateInterface tx) { //r.getCache().getLogger().warning("PartitionMessage.createReplyProcessor()", new Exception("stack trace")); return new PartitionResponse(r.getSystem(), recipients, tx); }
@Override PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients) { return new FetchKeysResponse(r.getSystem(), r, recipients); }
@Override PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients) { return new IndexCreationResponse(r.getSystem(), recipients); }
PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients, Object key) { return new PutAllResponse(r.getSystem(), recipients); }
PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients, Object k) { return new PutResponse(r.getSystem(), recipients, k); }
public static ReplyProcessor21 send(Set recipients, PartitionedRegion r, RegionEventImpl event) { ReplyProcessor21 response = new ReplyProcessor21(r.getSystem(), recipients); InvalidatePartitionedRegionMessage msg = new InvalidatePartitionedRegionMessage(recipients, event.getCallbackArgument(), r, response); r.getSystem().getDistributionManager().putOutgoing(msg); return response; }
public static ReplyProcessor21 send(Set recipients, PartitionedRegion r, RegionEventImpl event) { ReplyProcessor21 response = new ReplyProcessor21(r.getSystem(), recipients); InvalidatePartitionedRegionMessage msg = new InvalidatePartitionedRegionMessage(recipients, event.getCallbackArgument(), r, response); r.getSystem().getDistributionManager().putOutgoing(msg); return response; }
public static DumpB2NResponse send(Set recipients, PartitionedRegion r, int bId, boolean justPrimaryInfo) { DumpB2NResponse p = new DumpB2NResponse(r.getSystem(), recipients); DumpB2NRegion m = new DumpB2NRegion(recipients, r.getPRId(), p, bId, justPrimaryInfo); r.getDistributionManager().putOutgoing(m); return p; }
public static PartitionResponse send(Set recipients, PartitionedRegion r) { PartitionResponse p = new PartitionResponse(r.getSystem(), recipients); DumpAllPRConfigMessage m = new DumpAllPRConfigMessage(recipients, r.getPRId(), p); /*Set failures = */r.getDistributionManager().putOutgoing(m); // if (failures != null && failures.size() > 0) { // throw new PartitionedRegionCommunicationException("Failed sending ", m); // } return p; }
public static PartitionResponse send(Set recipients, PartitionedRegion r, final boolean validateOnly, final boolean onlyBuckets) { PartitionResponse p = new PartitionResponse(r.getSystem(), recipients); DumpBucketsMessage m = new DumpBucketsMessage(recipients, r.getPRId(), p, validateOnly, onlyBuckets); /*Set failures =*/ r.getDistributionManager().putOutgoing(m); // if (failures != null && failures.size() > 0) { // throw new PartitionedRegionCommunicationException("Failed sending ", m); // } return p; }
public static PartitionResponse send(Set recipients, PartitionedRegion r) { final TXStateInterface tx = r.getTXState(); PartitionResponse p = new PartitionResponse(r.getSystem(), recipients, tx); DumpAllPRConfigMessage m = new DumpAllPRConfigMessage(recipients, r.getPRId(), p, tx); /*Set failures = */r.getDistributionManager().putOutgoing(m); // if (failures != null && failures.size() > 0) { // throw new PartitionedRegionCommunicationException("Failed sending ", m); // } return p; }
public static DumpB2NResponse send(Set recipients, PartitionedRegion r, int bId, boolean justPrimaryInfo) { final TXStateInterface tx = r.getTXState(); DumpB2NResponse p = new DumpB2NResponse(r.getSystem(), recipients, tx); DumpB2NRegion m = new DumpB2NRegion(recipients, r.getPRId(), p, bId, justPrimaryInfo, tx); r.getDistributionManager().putOutgoing(m); return p; }
public static PartitionResponse send(Set recipients, PartitionedRegion r, final boolean validateOnly, final boolean onlyBuckets) { final TXStateInterface tx = r.getTXState(); PartitionResponse p = new PartitionResponse(r.getSystem(), recipients, tx); DumpBucketsMessage m = new DumpBucketsMessage(recipients, r.getPRId(), p, validateOnly, onlyBuckets, tx); /*Set failures =*/ r.getDistributionManager().putOutgoing(m); // if (failures != null && failures.size() > 0) { // throw new PartitionedRegionCommunicationException("Failed sending ", m); // } return p; }