Class StoreStatus

java.lang.Object
PamController.fileprocessing.StoreStatus
Direct Known Subclasses:
BinaryStoreStatus, DatabaseStoreStatus

public abstract class StoreStatus extends Object
Class to carry information about an OfflineDataStore. Used when restarting offline processing to help work out if we should overwrite, start again, etc.
Author:
dg50
  • Field Details

  • Constructor Details

  • Method Details

    • getFreeSpace

      public abstract long getFreeSpace()
      Get the amount of free space for this storage.
      Returns:
      free space in bytes.
    • getFreeSpace

      public long getFreeSpace(String currDir)
    • getFirstDataTime

      public Long getFirstDataTime()
      Returns:
      the firstDataTime
    • setFirstDataTime

      public void setFirstDataTime(Long firstDataTime)
      Parameters:
      firstDataTime - the firstDataTime to set
    • getLastDataTime

      public Long getLastDataTime()
      Returns:
      the lastDataTime
    • setLastDataTime

      public void setLastDataTime(Long lastDataTime)
      Parameters:
      lastDataTime - the lastDataTime to set
    • getStoreStatus

      public int getStoreStatus()
      Returns:
      the storeStatus
    • setStoreStatus

      public void setStoreStatus(int storeStatus)
      Parameters:
      storeStatus - the storeStatus to set
    • getOfflineDataStore

      public OfflineDataStore getOfflineDataStore()
      Returns:
      the offlineDataStore