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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called in its own thread to handle the given exception.voidonReceive(AbstractArtifact result)
-
Constructor Details
-
FetchHashedHelper
public FetchHashedHelper()
-
-
Method Details
-
onReceive
- Specified by:
onReceivein interfaceStorageArtifactHandler
-
onException
Description copied from interface:StorageExceptionHandlerThis method is called in its own thread to handle the given exception.- Specified by:
onExceptionin 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
-