public class FallbackPersistence extends AccountingPersistence
aggregationScheduler, fallback| Modifier | Constructor and Description |
|---|---|
protected |
FallbackPersistence(File accountingFallbackFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
prepareConnection(AccountingPersistenceConfiguration configuration)
Prepare the connection to persistence.
|
protected void |
reallyAccount(UsageRecord usageRecord)
This method contains the code to save the
#UsageRecord |
account, flush, setAggregationScheduler, setFallback, validateAccountAggregateprotected FallbackPersistence(File accountingFallbackFile)
public void prepareConnection(AccountingPersistenceConfiguration configuration)
prepareConnection in class AccountingPersistenceconfiguration - The configuration to create the connectionprotected void reallyAccount(UsageRecord usageRecord) throws Exception
#UsageRecordreallyAccount in class AccountingPersistenceExceptionpublic void close()
throws Exception
close in class AccountingPersistenceExceptionCopyright © 2015. All Rights Reserved.