Interface QuarantineStore
public interface QuarantineStore
This interface is used in conjunction with HistoryStorer & DataStore to indicate a store that can accept data that
should be immediately quarantined. It is necessary because some stores (MemoryStore) can't quarantine- but when used
in conjunction with a local cache store, that data should go there instead of being lost.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
storeQuarantinedData
(HistoricalData data, Exception failureReason) Stores data to the quarantine.
-
Method Details
-
storeQuarantinedData
Stores data to the quarantine.- Throws:
IllegalStateException
- if the cache is full.Exception
- general exception if storage fails.
-