public class VisorPreloadConfig extends Object implements Serializable
| Constructor and Description |
|---|
VisorPreloadConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
batchSize() |
void |
batchSize(int batchSize) |
static VisorPreloadConfig |
from(GridCacheConfiguration ccfg) |
GridCachePreloadMode |
mode() |
void |
mode(GridCachePreloadMode mode) |
long |
partitionedDelay() |
void |
partitionedDelay(long partitionedDelay) |
int |
threadPoolSize() |
void |
threadPoolSize(int threadPoolSize) |
long |
throttle() |
void |
throttle(long throttle) |
long |
timeout() |
void |
timeout(long timeout) |
String |
toString() |
public static VisorPreloadConfig from(GridCacheConfiguration ccfg)
ccfg - Cache configuration.public GridCachePreloadMode mode()
public void mode(GridCachePreloadMode mode)
mode - New cache preload mode.public int threadPoolSize()
public void threadPoolSize(int threadPoolSize)
threadPoolSize - New preload thread pool size.public int batchSize()
public void batchSize(int batchSize)
batchSize - New cache preload batch size.public long partitionedDelay()
public void partitionedDelay(long partitionedDelay)
partitionedDelay - New preloading partitioned delay.public long throttle()
public void throttle(long throttle)
throttle - New time in milliseconds to wait between preload messages.public long timeout()
public void timeout(long timeout)
timeout - New preload timeout.Copyright © 2014. All rights reserved.