Package | Description |
---|---|
com.hazelcast.internal.networking.nio |
Contains the non blocking
EventLoopGroup functionality. |
com.hazelcast.internal.util.concurrent |
Concurrent queues etc.
|
com.hazelcast.spi.impl.operationservice.impl |
Contains the code for the
InternalOperationService implementation. |
com.hazelcast.util.concurrent |
Abstractions that deal with common needs in concurrent programming.
|
Constructor and Description |
---|
NioThread(String threadName,
ILogger logger,
ChannelErrorHandler errorHandler,
SelectorMode selectMode,
IdleStrategy idleStrategy) |
NioThread(String threadName,
ILogger logger,
ChannelErrorHandler errorHandler,
SelectorMode selectMode,
Selector selector,
IdleStrategy idleStrategy) |
Modifier and Type | Field and Description |
---|---|
static IdleStrategy |
ConcurrentConveyor.SUBMIT_IDLER
Idling strategy used by the
submit() methods. |
Constructor and Description |
---|
MPSCQueue(IdleStrategy idleStrategy)
Creates a new
MPSCQueue with the provided IdleStrategy . |
MPSCQueue(Thread consumerThread,
IdleStrategy idleStrategy)
Creates a new
MPSCQueue with the provided IdleStrategy and consumer thread. |
Modifier and Type | Method and Description |
---|---|
static IdleStrategy |
InboundResponseHandlerSupplier.getIdleStrategy(HazelcastProperties properties,
HazelcastProperty property) |
Modifier and Type | Class and Description |
---|---|
class |
BackoffIdleStrategy
Idling strategy for threads when they have no work to do.
|
class |
BusySpinIdleStrategy
Busy spin strategy targeted at lowest possible latency.
|
class |
NoOpIdleStrategy
Low-latency idle strategy to be employed in loops that do significant work
on each iteration such that any work in the idle strategy would be wasteful.
|
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.