public RehashControlCommand buildRehashControlCommandTxLogPendingPrepares(Address sender, List<PrepareCommand> commands) {
return new RehashControlCommand(cacheName, DRAIN_TX_PREPARES, sender, null, commands, this);
}
public RehashControlCommand buildRehashControlCommand(RehashControlCommand.Type type, Address sender, Map<Object, InternalCacheValue> state, ConsistentHash consistentHash) {
return new RehashControlCommand(cacheName, type, sender, state, consistentHash, this);
}