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 Detail

      • storeQuarantinedData

        void storeQuarantinedData​(HistoricalData data,
                                  java.lang.Exception failureReason)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception