public interface MigratableHandler extends SelectionHandler
SelectionHandler that supports migration between IOSelector instances.
This API is called by the IOBalancer.| Modifier and Type | Method and Description |
|---|---|
long |
getEventCount()
Get number of events recorded by the current handler.
|
IOSelector |
getOwner()
Get IOSelector currently owning this handler.
|
void |
requestMigration(IOSelector newOwner)
Requests the MigratableHandler to move to the new IOSelector.
|
handlevoid requestMigration(IOSelector newOwner)
IOBalancer.
Call is ignored when handler is moving to the same IOSelector.newOwner - the IOSelector that is going to own this MigratableHandlerIOSelector getOwner()
IOBalancer can decide to migrate
a handler to another owner.long getEventCount()
IOSelectorCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.