public interface MigratableHandler
NioThread
instances.
This API is called by the IOBalancer
.Modifier and Type | Method and Description |
---|---|
long |
getLoad()
Get 'load' recorded by the current handler.
|
NioThread |
getOwner()
Get NioThread currently owning this handler.
|
void |
requestMigration(NioThread newOwner)
Requests the MigratableHandler to move to the new NioThread.
|
void requestMigration(NioThread newOwner)
IOBalancer
.
Call is ignored when handler is moving to the same NioThread.newOwner
- the NioThread that is going to own this MigratableHandlerNioThread getOwner()
IOBalancer
can decide to migrate
a handler to another owner.long getLoad()
NioThread
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.