Package binaryFileStorage
Class BinaryStoreStatus
java.lang.Object
PamController.fileprocessing.StoreStatus
binaryFileStorage.BinaryStoreStatus
-
Field Summary
Fields inherited from class PamController.fileprocessing.StoreStatus
STATUS_EMPTY, STATUS_HASDATA, STATUS_MISSING
-
Constructor Summary
ConstructorDescriptionBinaryStoreStatus
(BinaryStore binaryStore) BinaryStoreStatus
(BinaryStore binaryStore, BinaryHeader firstHead, BinaryFooter lastFoot, BinaryFooter lastData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
considerBlockStatus
(BinaryStoreStatus blockStatus) Looking overall for first header, last footers, etc.long
Get the amount of free space for this storage.void
setFirstHeader
(BinaryHeader firstHeader) void
setLastData
(BinaryFooter lastData) void
setLastFooter
(BinaryFooter lastFooter) Methods inherited from class PamController.fileprocessing.StoreStatus
getFreeSpace, getOfflineDataStore, getStoreStatus, setFirstDataTime, setLastDataTime, setStoreStatus
-
Constructor Details
-
BinaryStoreStatus
-
-
Method Details
-
getFirstDataTime
- Overrides:
getFirstDataTime
in classStoreStatus
- Returns:
- the firstDataTime
-
getLastDataTime
- Overrides:
getLastDataTime
in classStoreStatus
- Returns:
- the lastDataTime
-
getFirstHeader
- Returns:
- the firstHeader
-
setFirstHeader
- Parameters:
firstHeader
- the firstHeader to set
-
getLastData
- Returns:
- the lastData
-
getFreeSpace
public long getFreeSpace()Description copied from class:StoreStatus
Get the amount of free space for this storage.- Specified by:
getFreeSpace
in classStoreStatus
- Returns:
- free space in bytes.
-
considerBlockStatus
Looking overall for first header, last footers, etc.- Parameters:
blockStatus
-
-