Package i5.las2peer.persistency.helper
Class FetchHashedHelper
java.lang.Object
i5.las2peer.persistency.helper.FetchHashedHelper
- All Implemented Interfaces:
StorageArtifactHandler
,StorageExceptionHandler
public class FetchHashedHelper
extends Object
implements StorageArtifactHandler, StorageExceptionHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called in its own thread to handle the given exception.void
onReceive
(AbstractArtifact result)
-
Constructor Details
-
FetchHashedHelper
public FetchHashedHelper()
-
-
Method Details
-
onReceive
- Specified by:
onReceive
in interfaceStorageArtifactHandler
-
onException
Description copied from interface:StorageExceptionHandler
This method is called in its own thread to handle the given exception.- Specified by:
onException
in interfaceStorageExceptionHandler
- Parameters:
e
- An execption that occurred during a network operation. Usually the reason or metadata should be known from the surrounding context and should be provided to this handler, too.
-
getResult
- Throws:
Exception
-