Class AccessorProperties

Direct Known Subclasses:
ReconciliatorProperties

@ApplicationScoped public class AccessorProperties extends ServiceProperties
Accessor Configurable Values
  • Field Details

  • Constructor Details

    • AccessorProperties

      protected AccessorProperties()
  • Method Details

    • isRemoteRead

      public static boolean isRemoteRead()
      Returns:
      True if the remote read/check is active
    • setRemoteRead

      public static void setRemoteRead(boolean isRemoteRead)
      package-protected method
      Parameters:
      isRemoteRead - new remote read status
    • isFixOnAbsent

      public static boolean isFixOnAbsent()
      Returns:
      True if the remote content is used to fix missing local data
    • setFixOnAbsent

      public static void setFixOnAbsent(boolean isFixOnAbsent)
      package-protected method
      Parameters:
      isFixOnAbsent - new remote content used if local is missing data
    • isInternalCompression

      public static boolean isInternalCompression()
      Returns:
      True if the internal compression is active
    • isStoreActive

      public static boolean isStoreActive()
      Warning: enable this will use local storage and could lead to out of space. The intention is to allow to be more flexible regarding Driver temporary issues.
      Returns:
      True if the local storage is to be uses (default false)
    • setStoreActive

      public static void setStoreActive(boolean active)
    • getStorePath

      public static String getStorePath()
      Returns:
      the path to use for local store (default being java.io.tmpdir extended with "/CCS" such as "/tmp/CCS")
    • getStoreMinSpaceGb

      public static int getStoreMinSpaceGb()
      Returns:
      the minimum space that must be available on local storage before trying to save the content
    • getStorePurgeRetentionSeconds

      public static long getStorePurgeRetentionSeconds()
      Returns:
      the delay in seconds before an upload is considered out of time and to be purged
    • setStorePurgeRetentionSeconds

      public static void setStorePurgeRetentionSeconds(long retention)
    • getStoreScheduleDelay

      public static String getStoreScheduleDelay()
      Returns:
      the delay in duration format between each schedule
    • confugrationToString

      public static String confugrationToString()