public class FallbackPersistence extends Persistence
aggregationScheduler, fallback| Modifier | Constructor and Description |
|---|---|
protected |
FallbackPersistence(File accountingFallbackFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
prepareConnection(PersistenceConfiguration 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(PersistenceConfiguration configuration)
prepareConnection in class Persistenceconfiguration - The configuration to create the connectionprotected void reallyAccount(UsageRecord usageRecord) throws Exception
#UsageRecordreallyAccount in class PersistenceExceptionpublic void close()
throws Exception
close in class PersistenceExceptionCopyright © 2015. All Rights Reserved.