public class FallbackPersistence extends Persistence
fallback, persistence| Modifier | Constructor and Description |
|---|---|
protected |
FallbackPersistence(File accountingFallbackFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
prepareConnection()
Prepare the connection to persistence.
|
protected void |
reallyAccount(UsageRecord usageRecord)
This method contains the code to save the
#UsageRecord |
account, createTestUsageRecord, getInstance, init, setFallbackLocationprotected FallbackPersistence(File accountingFallbackFile)
public void prepareConnection()
prepareConnection in class Persistenceprotected void reallyAccount(UsageRecord usageRecord) throws Exception
#UsageRecordreallyAccount in class PersistenceExceptionpublic void close()
throws Exception
close in class PersistenceExceptionCopyright © 2015. All Rights Reserved.