Package com.tangosol.net.topic
Interface Subscriber.ChannelOwnershipListener
-
- Enclosing interface:
- Subscriber<V>
public static interface Subscriber.ChannelOwnershipListener
A listener that receives notification of channel ownership changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onChannelsAssigned(Set<Integer> setAssigned)
The channels owned by a subscriber have changed.void
onChannelsLost(Set<Integer> setLost)
Channels previously owned by a subscriber have been lost, this is typically as a result of the subscriber being timed out or disconnection from the cluster.void
onChannelsRevoked(Set<Integer> setRevoked)
Channels previously owned by a subscriber have been revoked.
-
-
-
Method Detail
-
onChannelsAssigned
void onChannelsAssigned(Set<Integer> setAssigned)
The channels owned by a subscriber have changed.- Parameters:
setAssigned
- the set of channels assigned to the subscriber
-
onChannelsRevoked
void onChannelsRevoked(Set<Integer> setRevoked)
Channels previously owned by a subscriber have been revoked.- Parameters:
setRevoked
- the set of revoked channels
-
-