public class AccountingPersistence extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AccountingPersistence(String context) |
| Modifier and Type | Method and Description |
|---|---|
void |
account(org.gcube.documentstore.records.Record record)
Persist the UsageRecord.
|
void |
close() |
void |
flush() |
void |
flush(long timeout,
TimeUnit timeUnit)
Deprecated.
|
boolean |
isConnectionActive() |
protected String context
protected AccountingPersistence(String context)
public void account(org.gcube.documentstore.records.Record record)
throws org.gcube.documentstore.exception.InvalidValueException
record - the UsageRecord to persistorg.gcube.documentstore.exception.InvalidValueException@Deprecated public void flush(long timeout, TimeUnit timeUnit) throws Exception
insteadtimeout - timeUnit - ExceptionCopyright © 2018. All Rights Reserved.