public final class EventPolicy extends Object
Modifier and Type | Field and Description |
---|---|
int |
commandsPerEventLoop
Expected number of concurrent asynchronous commands in each event loop that are active at
any point in time.
|
int |
minTimeout
Minimum command timeout in milliseconds that will be specified for this event loop group.
|
int |
ticksPerWheel
The number of ticks per wheel for HashedWheelTimer in each event loop.
|
Constructor and Description |
---|
EventPolicy() |
public int minTimeout
minTimeout is used to specify the tick duration for HashedWheelTimer in each event loop. minTimeout is also used to specify the direct NIO event loop selector timeout.
Default: 100ms
public int ticksPerWheel
Default: 256
public int commandsPerEventLoop
The real event loop limiting factor is the maximum number of async connections allowed
per node (defined in ClientPolicy.maxConnsPerNode
).
Default: 256
Copyright © 2012–2018 Aerospike, Inc. All rights reserved.