/** copy constructor */ protected RegionSingleKeyExecutorMessage( final RegionSingleKeyExecutorMessage other) { super(other); this.region = other.region; this.regionPath = other.regionPath; this.dr = other.dr; this.pr = other.pr; this.prId = other.prId; this.bucketId = other.bucketId; this.pbr = other.pbr; this.key = other.key; this.callbackArg = other.callbackArg; this.routingObject = other.routingObject; this.allCopies = other.allCopies; this.txBatching = other.txBatching; // check for TX match with that in thread-local // TXState can be passed as null for non-transactional messages assert getTXState() == null || getTXState() == TXManagerImpl.getCurrentTXState(): "unexpected " + "mismatch of current TX " + TXManagerImpl.getCurrentTXState() + ", and TX passed to message " + getTXState(); }
/** copy constructor */ protected RegionSingleKeyExecutorMessage( final RegionSingleKeyExecutorMessage other) { super(other); this.region = other.region; this.regionPath = other.regionPath; this.dr = other.dr; this.pr = other.pr; this.prId = other.prId; this.bucketId = other.bucketId; this.pbr = other.pbr; this.key = other.key; this.callbackArg = other.callbackArg; this.routingObject = other.routingObject; this.allCopies = other.allCopies; this.txBatching = other.txBatching; // check for TX match with that in thread-local // TXState can be passed as null for non-transactional messages assert getTXState() == null || getTXState() == TXManagerImpl.getCurrentTXState(): "unexpected " + "mismatch of current TX " + TXManagerImpl.getCurrentTXState() + ", and TX passed to message " + getTXState(); }
/** copy constructor */ protected RegionSingleKeyExecutorMessage( final RegionSingleKeyExecutorMessage other) { super(other); this.region = other.region; this.regionPath = other.regionPath; this.dr = other.dr; this.pr = other.pr; this.prId = other.prId; this.bucketId = other.bucketId; this.pbr = other.pbr; this.key = other.key; this.callbackArg = other.callbackArg; this.routingObject = other.routingObject; this.allCopies = other.allCopies; this.txBatching = other.txBatching; // check for TX match with that in thread-local // TXState can be passed as null for non-transactional messages assert getTXState() == null || getTXState() == TXManagerImpl.getCurrentTXState(): "unexpected " + "mismatch of current TX " + TXManagerImpl.getCurrentTXState() + ", and TX passed to message " + getTXState(); }