Package com.tangosol.net.topic
Interface Subscriber.ChannelOwnershipListener
-
- Enclosing interface:
- Subscriber<V>
public static interface Subscriber.ChannelOwnershipListenerA listener that receives notification of channel ownership changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChannelsAssigned(Set<Integer> setAssigned)The channels owned by a subscriber have changed.voidonChannelsLost(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.voidonChannelsRevoked(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
-
-