| 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) |
void |
DefaultPersitenceExecutor.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 <R extends Record> |
RecordUtility.getRecord(String jsonString)
Create a Record from a Map serialized using toString()
|
static <R extends Record> |
DSMapper.marshal(List<R> list)
Return the String serialization of a given resource
|
static <R extends Record> |
DSMapper.marshal(R object)
Return the String serialization of a given resource
|
static <T extends OutputStream,R extends Record> |
DSMapper.marshal(R object,
T stream)
Write the serialization of a given resource to a given
OutputStream . |
static <T extends Writer,R extends Record> |
DSMapper.marshal(R object,
T writer)
Write the serialization of a given resource to a given
Writer . |
static <R extends Record> |
DSMapper.registerSubtypes(Class<R>... classes) |
static <R extends Record> |
DSMapper.unmarshal(Class<R> clz,
InputStream stream)
Creates a resource of given class from its serialization in a given
InputStream. |
static <R extends Record> |
DSMapper.unmarshal(Class<R> clz,
Reader reader)
Creates a resource of given class from its serialization in a given
Reader. |
static <R extends Record> |
DSMapper.unmarshal(Class<R> clz,
String string)
Creates a resource of given class from its serialization in a given String
|
static <R extends Record> |
DSMapper.unmarshalList(Class<R> clz,
String string) |
static <R extends Record> |
DSMapper.unmarshalList(String string) |
| Modifier and Type | Method and Description |
|---|---|
static Record |
RecordUtility.getRecord(Map<String,? extends Serializable> recordMap)
Create a Record from a Map
|
| 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 |
ValidLongValidator.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 |
ValidBooleanValidator.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 © 2017. All Rights Reserved.