Class FallbackMonitor
java.lang.Object
org.gcube.documentstore.persistence.FallbackMonitor
- All Implemented Interfaces:
Runnable
This class is used as scheduled thread to check if some records
where persisted in fallback file to retry
to persist them with the discovered PersistenceBackend
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprotected final Stringprotected final PersistenceBackendstatic final TimeUnit -
Constructor Summary
ConstructorsConstructorDescriptionFallbackMonitor(PersistenceBackend persistenceBackend) FallbackMonitor(PersistenceBackend persistenceBackend, boolean schedule) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidelaborateFallbackFile(File elaborationFile) protected voidelaborateFile(File elaborationFile) protected voidDeprecated.voidrun()
-
Field Details
-
persistenceBackend
-
initialValidContext
-
INITIAL_DELAY
public static final int INITIAL_DELAY- See Also:
-
DELAY
public static final int DELAY- See Also:
-
TIME_UNIT
-
-
Constructor Details
-
FallbackMonitor
-
FallbackMonitor
-
-
Method Details