Class AccountingPersistenceFactory

java.lang.Object
org.gcube.accounting.persistence.AccountingPersistenceFactory

public class AccountingPersistenceFactory extends Object
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

  • Method Details

    • 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.
      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.
      Parameters:
      timeout -
      timeUnit -