Package org.gcube.accounting.persistence
Class AccountingPersistenceFactory
- java.lang.Object
-
- org.gcube.accounting.persistence.AccountingPersistenceFactory
-
public class AccountingPersistenceFactory extends Object
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description protected static AccountingPersistenceaccountingPersistence
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidflushAll()static voidflushAll(long timeout, TimeUnit timeUnit)Deprecated.static AccountingPersistencegetPersistence()static voidinitAccountingPackages()static voidsetFallbackLocation(String path)static voidshutDown()Flush all accounting data and shutdown connection and scheduled threadstatic voidshutDown(long timeout, TimeUnit timeUnit)Deprecated.
-
-
-
Field Detail
-
accountingPersistence
protected static final AccountingPersistence accountingPersistence
-
-
Method Detail
-
initAccountingPackages
public static void initAccountingPackages()
-
setFallbackLocation
public static void setFallbackLocation(String path)
-
getPersistence
public static AccountingPersistence getPersistence()
-
flushAll
public static void flushAll()
-
flushAll
@Deprecated public static void flushAll(long timeout, TimeUnit timeUnit)
Deprecated.Useinstead- Parameters:
timeout-timeUnit-
-
shutDown
public static void shutDown()
Flush all accounting data and shutdown connection and scheduled thread
-
shutDown
@Deprecated public static void shutDown(long timeout, TimeUnit timeUnit)
Deprecated.Useinstead- Parameters:
timeout-timeUnit-
-
-