| Modifier and Type | Method and Description |
|---|---|
void |
PersistenceBackend.account(Record record)
Persist the
#UsageRecord. |
protected void |
PersistenceBackend.accountValidateAggregate(Record record,
boolean validate,
boolean aggregate) |
protected void |
PersistenceBackend.accountWithFallback(Record... records) |
void |
PersistenceExecutor.persist(Record... records) |
protected void |
FallbackPersistenceBackend.reallyAccount(Record record)
This method contains the code to save the
Record |
protected abstract void |
PersistenceBackend.reallyAccount(Record record)
This method contains the code to save the
Record |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AggregatedRecord<A extends AggregatedRecord<A,R>,R extends Record> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AggregatedRecord<A extends AggregatedRecord<A,R>,R extends Record> |
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Class<? extends Record>,Class<? extends AggregatedRecord<?,?>>> |
RecordUtility.recordAggregationMapping |
protected static Map<String,Class<? extends Record>> |
RecordUtility.recordClassesFound |
| Modifier and Type | Method and Description |
|---|---|
static Record |
RecordUtility.getRecord(Map<String,? extends Serializable> recordMap)
Create a Record from a Map
|
static Record |
RecordUtility.getRecord(String serializedMap)
Create a Record from a Map serialized using toString()
|
| Modifier and Type | Method and Description |
|---|---|
protected static Class<? extends Record> |
RecordUtility.getClass(String recordType,
boolean aggregated) |
static Class<? extends Record> |
RecordUtility.getRecordClass(String recordType) |
static Map<String,Class<? extends Record>> |
RecordUtility.getRecordClassesFound() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
RecordUtility.addRecordClass(Class<? extends Record> cls) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,List<Record>> |
AggregationScheduler.bufferedRecords |
| Modifier and Type | Method and Description |
|---|---|
void |
AggregationScheduler.aggregate(Record record,
PersistenceExecutor persistenceExecutor)
Get an usage records and try to aggregate with other buffered
Usage Record.
|
protected void |
AggregationScheduler.aggregate(Record record,
PersistenceExecutor persistenceExecutor,
boolean forceFlush) |
static AggregatedRecord |
AggregationScheduler.getAggregatedRecord(Record record) |
protected static AggregatedRecord |
AggregationScheduler.instantiateAggregatedRecord(Record record) |
protected void |
AggregationScheduler.madeAggregation(Record record) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRecord |
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractRecord.compareTo(Record record)
Compare this Record instance with the one provided as argument
|
Serializable |
FieldAction.validate(String key,
Serializable value,
Record record)
Validate (and eventually convert) the value of the property identified by
the key.
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
ValidBooleanValidator.validate(String key,
Serializable value,
Record record)
Validate (and eventually convert) the value of the property identified by
the key.
|
Serializable |
NotEmptyValidator.validate(String key,
Serializable value,
Record record)
Validate (and eventually convert) the value of the property identified by
the key.
|
Serializable |
ValidLongValidator.validate(String key,
Serializable value,
Record record)
Validate (and eventually convert) the value of the property identified by
the key.
|
Serializable |
ValidIntegerValidator.validate(String key,
Serializable value,
Record record)
Validate (and eventually convert) the value of the property identified by
the key.
|
Serializable |
NotNullValidator.validate(String key,
Serializable value,
Record record)
Validate (and eventually convert) the value of the property identified by
the key.
|
Copyright © 2016. All Rights Reserved.