response.waitForResults(); logger.info(LocalizedMessage.create(LocalizedStrings.PartitionedRegion_DONE_WATING_FOR_REMOVE_INDEX)); if (logger.isDebugEnabled()) { logger.debug("Total number of buckets which removed indexs , locally : {} and remotely removed : {} and the total number of remote buckets : {}", numBuckets, response.getRemoteRemovedIndexes(), response.getTotalRemoteBuckets());
response.waitForResults(); log.info(LocalizedStrings.PartitionedRegion_DONE_WATING_FOR_REMOVE_INDEX); if (log.fineEnabled()) { log.fine("Total number of buckets which removed indexs , locally : " + numBuckets + " and remotely removed : " + response.getRemoteRemovedIndexes() + " and the total number of remote buckets : " + response.getTotalRemoteBuckets());
response.waitForResults(); log.info(LocalizedStrings.PartitionedRegion_DONE_WATING_FOR_REMOVE_INDEX); if (log.fineEnabled()){ log.fine("Total number of buckets which removed indexes , locally : " + numBuckets + " and remotely removed : " + response.getRemoteRemovedIndexes() + " and the total number of remote buckets : " + response.getTotalRemoteBuckets());
response.waitForResults(); logger.info(LocalizedMessage.create(LocalizedStrings.PartitionedRegion_DONE_WATING_FOR_REMOVE_INDEX)); if (logger.isDebugEnabled()) { logger.debug("Total number of buckets which removed indexes , locally : {} and remotely removed : {} and the total number of remote buckets : {}", numBuckets, response.getRemoteRemovedIndexes(), response.getTotalRemoteBuckets());
/** * Processes this RemoveIndexesReplyMessge on the receiver. * @param dm distribution manager */ @Override public final void process(final DM dm, final ReplyProcessor21 p) { RemoveIndexesResponse processor = (RemoveIndexesResponse)p; if (processor != null) { processor.setResponse(this.result, this.numBucketsIndexesRemoved, this.numTotalBuckets); processor.process(this); } }
/** * Processes this RemoveIndexesReplyMessge on the receiver. * @param dm distribution manager */ @Override public final void process(final DM dm, final ReplyProcessor21 p) { RemoveIndexesResponse processor = (RemoveIndexesResponse)p; if (processor != null) { processor.setResponse(this.result, this.numBucketsIndexesRemoved, this.numTotalBuckets); processor.process(this); } }
@Override PartitionResponse createReplyProcessor(PartitionedRegion r, Set recipients) { return new RemoveIndexesResponse(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 RemoveIndexesResponse(r.getSystem(), recipients, tx); }
/** * Waits for the response from the members for remove indexes call on this system. * @throws ForceReattemptException */ public RemoveIndexesResult waitForResults() throws CacheException, ForceReattemptException { waitForCacheException(); return new RemoveIndexesResult(0); }
/** * Waits for the response from the members for remove indexes call on this system. * @throws ForceReattemptException */ public RemoveIndexesResult waitForResults() throws CacheException, ForceReattemptException { waitForCacheException(); return new RemoveIndexesResult(0); }