public class PartitionRequestListenerManager extends Object
Constructor and Description |
---|
PartitionRequestListenerManager() |
Modifier and Type | Method and Description |
---|---|
Collection<PartitionRequestListener> |
getPartitionRequestListeners() |
boolean |
isEmpty() |
void |
registerListener(PartitionRequestListener listener) |
void |
remove(InputChannelID receiverId) |
void |
removeExpiration(long now,
long timeout,
Collection<PartitionRequestListener> timeoutListeners)
Remove the expire partition request listener and add it to the given timeoutListeners.
|
public Collection<PartitionRequestListener> getPartitionRequestListeners()
public void remove(InputChannelID receiverId)
public boolean isEmpty()
public void registerListener(PartitionRequestListener listener)
public void removeExpiration(long now, long timeout, Collection<PartitionRequestListener> timeoutListeners)
now
- the timestamptimeout
- the timeout millstimeoutListeners
- the expire partition request listenersCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.