NodeIDType
- public class WaitAckDropEpoch<NodeIDType> extends ThresholdProtocolTask<NodeIDType,ReconfigurationPacket.PacketType,java.lang.String>
Modifier and Type | Field and Description |
---|---|
static ReconfigurationPacket.PacketType[] |
types
Packet types handled.
|
waitfor
Constructor and Description |
---|
WaitAckDropEpoch(StartEpoch<NodeIDType> startEpoch,
RepliconfigurableReconfiguratorDB<NodeIDType> DB) |
WaitAckDropEpoch(StartEpoch<NodeIDType> startEpoch,
java.util.Set<NodeIDType> prevGroup,
RepliconfigurableReconfiguratorDB<NodeIDType> DB) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ReconfigurationPacket.PacketType> |
getEventTypes() |
java.lang.String |
getKey() |
boolean |
handleEvent(ProtocolEvent<ReconfigurationPacket.PacketType,java.lang.String> event) |
GenericMessagingTask<NodeIDType,?>[] |
handleThresholdEvent(ProtocolTask<NodeIDType,ReconfigurationPacket.PacketType,java.lang.String>[] ptasks)
We should delete the record currently pending deletion.
|
java.lang.String |
refreshKey() |
GenericMessagingTask<NodeIDType,?>[] |
restart() |
GenericMessagingTask<NodeIDType,?>[] |
start()
We skip the first period before sending out drop epochs.
|
fix, getPeriod, handleEvent, setPeriod
public static final ReconfigurationPacket.PacketType[] types
public WaitAckDropEpoch(StartEpoch<NodeIDType> startEpoch, java.util.Set<NodeIDType> prevGroup, RepliconfigurableReconfiguratorDB<NodeIDType> DB)
startEpoch
- prevGroup
- DB
- The getAllActive() call is a hack to be able to finish deletes
quicker. This has safety violation risks upon name re-creation
and is meant only for instrumentation.
public WaitAckDropEpoch(StartEpoch<NodeIDType> startEpoch, RepliconfigurableReconfiguratorDB<NodeIDType> DB)
startEpoch
- DB
- public GenericMessagingTask<NodeIDType,?>[] restart()
public GenericMessagingTask<NodeIDType,?>[] start()
public java.lang.String refreshKey()
public java.util.Set<ReconfigurationPacket.PacketType> getEventTypes()
public java.lang.String getKey()
public boolean handleEvent(ProtocolEvent<ReconfigurationPacket.PacketType,java.lang.String> event)
handleEvent
in class ThresholdProtocolTask<NodeIDType,ReconfigurationPacket.PacketType,java.lang.String>
public GenericMessagingTask<NodeIDType,?>[] handleThresholdEvent(ProtocolTask<NodeIDType,ReconfigurationPacket.PacketType,java.lang.String>[] ptasks)
handleThresholdEvent
in class ThresholdProtocolTask<NodeIDType,ReconfigurationPacket.PacketType,java.lang.String>