Package io.temporal.internal.sync
Class CompletionAwareManualCompletionClient
- java.lang.Object
-
- io.temporal.internal.sync.CompletionAwareManualCompletionClient
-
- All Implemented Interfaces:
ManualActivityCompletionClient
public final class CompletionAwareManualCompletionClient extends java.lang.Object implements ManualActivityCompletionClient
-
-
Constructor Summary
Constructors Constructor Description CompletionAwareManualCompletionClient(ManualActivityCompletionClient client, Functions.Proc completionHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete(java.lang.Object result)
void
fail(java.lang.Throwable failure)
void
recordHeartbeat(java.lang.Object details)
void
reportCancellation(java.lang.Object details)
-
-
-
Constructor Detail
-
CompletionAwareManualCompletionClient
public CompletionAwareManualCompletionClient(ManualActivityCompletionClient client, Functions.Proc completionHandle)
-
-
Method Detail
-
complete
public void complete(java.lang.Object result)
- Specified by:
complete
in interfaceManualActivityCompletionClient
-
fail
public void fail(java.lang.Throwable failure)
- Specified by:
fail
in interfaceManualActivityCompletionClient
-
recordHeartbeat
public void recordHeartbeat(java.lang.Object details) throws CanceledFailure
- Specified by:
recordHeartbeat
in interfaceManualActivityCompletionClient
- Throws:
CanceledFailure
-
reportCancellation
public void reportCancellation(java.lang.Object details)
- Specified by:
reportCancellation
in interfaceManualActivityCompletionClient
-
-