PartitionLost Method
PartitionLost(Action<IHazelcastClient, PartitionLostEventArgs>)
Adds a handler which runs when a partition is lost.
Declaration
public HazelcastClientEventHandlers PartitionLost(Action<IHazelcastClient, PartitionLostEventArgs> handler)
Parameters
Action<IHazelcastClient, PartitionLostEventArgs> | handler | The handler. |
Returns
HazelcastClientEventHandlers | The handlers. |
PartitionLost(Func<IHazelcastClient, PartitionLostEventArgs, ValueTask>)
Adds a handler which runs when a partition is lost.
Declaration
public HazelcastClientEventHandlers PartitionLost(Func<IHazelcastClient, PartitionLostEventArgs, ValueTask> handler)
Parameters
Func<IHazelcastClient, PartitionLostEventArgs, ValueTask> | handler | The handler. |
Returns
HazelcastClientEventHandlers | The handlers. |