public class AggregationConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DELAY |
static int |
INITIAL_DELAY |
protected static int |
MAX_RECORDS_NUMBER
Define the MAX number of Record to buffer.
|
protected static long |
OLD_RECORD_MAX_TIME_ELAPSED
The Max amount of time elapsed form last record before after that the
buffered record are persisted even if TODO Get from configuration
|
| Constructor and Description |
|---|
AggregationConfig(Integer initialDelaySet,
Integer delaySet,
int maxRecordsNumberSet,
long oldRecordMaxTimeElapsedSet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AggregationConfig |
getDefaultConfiguration() |
Integer |
getDelaySet() |
Integer |
getInitialDelaySet() |
int |
getMaxRecordsNumberSet() |
long |
getOldRecordMaxTimeElapsedSet() |
int |
hashCode() |
void |
setDelaySet(int delaySet) |
void |
setInitialDelaySet(int initialDelaySet) |
void |
setMaxRecordsNumberSet(int maxRecordsNumberSet) |
void |
setOldRecordMaxTimeElapsedSet(long oldRecordMaxTimeElapsedSet) |
String |
toString() |
protected static final int MAX_RECORDS_NUMBER
protected static final long OLD_RECORD_MAX_TIME_ELAPSED
public static final int INITIAL_DELAY
public static final int DELAY
public static AggregationConfig getDefaultConfiguration()
public Integer getInitialDelaySet()
public void setInitialDelaySet(int initialDelaySet)
public Integer getDelaySet()
public void setDelaySet(int delaySet)
public int getMaxRecordsNumberSet()
public void setMaxRecordsNumberSet(int maxRecordsNumberSet)
public long getOldRecordMaxTimeElapsedSet()
public void setOldRecordMaxTimeElapsedSet(long oldRecordMaxTimeElapsedSet)
Copyright © 2017. All Rights Reserved.