- com
- pcbsys
- nirvana
- client
- nConflationAttributes
This class represents the conflation attributes that can be used when creating resources which allow conflation. More...
Public Member Functions | |
int | getAction () |
This can be either Drop or Merge. More... | |
long | getInterval () |
The time that the configured resource will conflate events. More... | |
nConflationAttributes (long interval) | |
Creates a conflation attributes object defaulting the action to merging of events within the conflation interval. More... | |
nConflationAttributes (int action, long interval) throws nIllegalArgumentException | |
Creates a conflation attribute specifying the action as either drop or merge within the time interval specified. More... | |
Static Public Attributes | |
static final int | sDropEvents = 0 |
used in the constructor of nConflationAttributes to represent that action that should be taken during the conflation interval | |
static final int | sMergeEvents = 1 |
used in the constructor of nConflationAttributes to represent that action that should be taken during the conflation interval | |
Protected Member Functions | |
void | setAction (int action) throws nIllegalArgumentException |
Sets the action for this conflation attribute. More... | |
This class represents the conflation attributes that can be used when creating resources which allow conflation.
com.pcbsys.nirvana.client.nConflationAttributes.nConflationAttributes | ( | long | interval | ) |
Creates a conflation attributes object defaulting the action to merging of events within the conflation interval.
interval | time in milliseconds that events will be conflated |
com.pcbsys.nirvana.client.nConflationAttributes.nConflationAttributes | ( | int | action, |
long | interval | ||
) | throws nIllegalArgumentException |
Creates a conflation attribute specifying the action as either drop or merge within the time interval specified.
action | Set the action to either drop or merge events |
interval | time in milliseconds that events will be conflated |
nIllegalArgumentException | if conflation action is illegal |
int com.pcbsys.nirvana.client.nConflationAttributes.getAction | ( | ) |
This can be either Drop or Merge.
long com.pcbsys.nirvana.client.nConflationAttributes.getInterval | ( | ) |
The time that the configured resource will conflate events.
|
protected |
Sets the action for this conflation attribute.
action | to use to set |
nIllegalArgumentException | if conflation action is illegal |