Package me.kzheart.klib.remote
Class RemoteOperation
java.lang.Object
me.kzheart.klib.remote.RemoteOperation
- All Implemented Interfaces:
AutoCloseable
Operation 平台返回契约;状态、快照与线程上下文传播均由 Kotlin 实现。
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()context()static RemoteOperation.Contextcurrent()static RemoteOperationstatic RunnablewrapCurrent(Runnable task) static <T> Callable<T> wrapCurrent(Callable<T> task) static <T> Supplier<T> wrapCurrent(Supplier<T> task)
-
Method Details
-
start
-
current
-
wrapCurrent
-
wrapCurrent
-
wrapCurrent
-
phase
-
outcome
-
attribute
-
context
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-