public class VisorStreamerConfig extends Object implements Serializable
| Constructor and Description |
|---|
VisorStreamerConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
atLeastOnce() |
void |
atLeastOnce(boolean atLeastOnce) |
boolean |
executorServiceShutdown() |
void |
executorServiceShutdown(boolean executorSrvcShutdown) |
static VisorStreamerConfig |
from(GridStreamerConfiguration scfg) |
static Iterable<VisorStreamerConfig> |
list(GridStreamerConfiguration[] streamers)
Construct data transfer object for streamer configurations properties.
|
int |
maximumConcurrentSessions() |
void |
maximumConcurrentSessions(int maxConcurrentSessions) |
int |
maximumFailoverAttempts() |
void |
maximumFailoverAttempts(int maxFailoverAttempts) |
String |
name() |
void |
name(String name) |
String |
router() |
void |
router(String router) |
String |
toString() |
public static VisorStreamerConfig from(GridStreamerConfiguration scfg)
scfg - Streamer configuration.public static Iterable<VisorStreamerConfig> list(GridStreamerConfiguration[] streamers)
streamers - streamer configurations.public boolean atLeastOnce()
public void atLeastOnce(boolean atLeastOnce)
atLeastOnce - New flag indicating whether event should be processed at least once.public int maximumFailoverAttempts()
public void maximumFailoverAttempts(int maxFailoverAttempts)
maxFailoverAttempts - New maximum number of failover attempts to try.public int maximumConcurrentSessions()
public void maximumConcurrentSessions(int maxConcurrentSessions)
maxConcurrentSessions - New maximum number of concurrent events to be processed.public boolean executorServiceShutdown()
public void executorServiceShutdown(boolean executorSrvcShutdown)
executorSrvcShutdown - New flag indicating whether streamer executor service should be shutdown
on GridGain stop.Copyright © 2014. All rights reserved.