public class RamStoreRestartLoop extends Object
RamStore
during the Hot Restart process.| Modifier and Type | Field and Description |
|---|---|
static com.hazelcast.util.concurrent.IdleStrategy |
DRAIN_IDLER |
com.hazelcast.internal.util.concurrent.ConcurrentConveyor<RestartItem>[] |
keyHandleSenders |
com.hazelcast.internal.util.concurrent.ConcurrentConveyorSingleQueue<RestartItem>[][] |
keyReceivers |
static long |
MAX_PARK_MICROS
Max park microseconds while awaiting new items in the queue.
|
static int |
MIN_QUEUE_CAPACITY |
static int |
QUEUE_CAPACITY_BUDGET |
static int |
SPIN_COUNT
How many times to busy-spin while awaiting new items in the queue.
|
com.hazelcast.internal.util.concurrent.ConcurrentConveyorSingleQueue<RestartItem>[][] |
valueReceivers |
static int |
YIELD_COUNT
How many times to yield while awaiting new items in the queue.
|
| Constructor and Description |
|---|
RamStoreRestartLoop(int storeCount,
int threadCount,
RamStoreRegistry reg,
com.hazelcast.logging.ILogger logger) |
public static final int QUEUE_CAPACITY_BUDGET
public static final int MIN_QUEUE_CAPACITY
public static final int SPIN_COUNT
public static final int YIELD_COUNT
public static final long MAX_PARK_MICROS
public static final com.hazelcast.util.concurrent.IdleStrategy DRAIN_IDLER
public final com.hazelcast.internal.util.concurrent.ConcurrentConveyorSingleQueue<RestartItem>[][] keyReceivers
public final com.hazelcast.internal.util.concurrent.ConcurrentConveyor<RestartItem>[] keyHandleSenders
public final com.hazelcast.internal.util.concurrent.ConcurrentConveyorSingleQueue<RestartItem>[][] valueReceivers
public RamStoreRestartLoop(int storeCount,
int threadCount,
RamStoreRegistry reg,
com.hazelcast.logging.ILogger logger)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.