Interface QuarantineStore
- 
public interface QuarantineStoreThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstoreQuarantinedData(HistoricalData data, java.lang.Exception failureReason)Stores data to the quarantine. 
 - 
 
- 
- 
Method Detail
- 
storeQuarantinedData
void storeQuarantinedData(HistoricalData data, java.lang.Exception failureReason) throws java.lang.Exception
Stores data to the quarantine.- Throws:
 java.lang.IllegalStateException- if the cache is full.java.lang.Exception- general exception if storage fails.
 
 - 
 
 -