@Deprecated public class AsyncContextState extends Object implements org.noear.solon.core.handle.ContextAsyncListener
| Modifier and Type | Field and Description |
|---|---|
CompletableFuture<Object> |
asyncFuture
Deprecated.
|
boolean |
isStarted
Deprecated.
|
| Constructor and Description |
|---|
AsyncContextState()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(org.noear.solon.core.handle.ContextAsyncListener listener)
Deprecated.
|
void |
asyncDelay(long timeout,
org.noear.solon.core.handle.Context ctx,
org.noear.solon.core.util.RunnableEx onTimeout)
Deprecated.
|
void |
onComplete(org.noear.solon.core.handle.Context ctx)
Deprecated.
|
void |
onError(org.noear.solon.core.handle.Context ctx,
Throwable e)
Deprecated.
|
void |
onStart(org.noear.solon.core.handle.Context ctx)
Deprecated.
|
void |
onTimeout(org.noear.solon.core.handle.Context ctx)
Deprecated.
|
public boolean isStarted
public CompletableFuture<Object> asyncFuture
public void addListener(org.noear.solon.core.handle.ContextAsyncListener listener)
public void asyncDelay(long timeout,
org.noear.solon.core.handle.Context ctx,
org.noear.solon.core.util.RunnableEx onTimeout)
public void onStart(org.noear.solon.core.handle.Context ctx)
onStart in interface org.noear.solon.core.handle.ContextAsyncListenerpublic void onComplete(org.noear.solon.core.handle.Context ctx)
onComplete in interface org.noear.solon.core.handle.ContextAsyncListenerpublic void onTimeout(org.noear.solon.core.handle.Context ctx)
onTimeout in interface org.noear.solon.core.handle.ContextAsyncListenerpublic void onError(org.noear.solon.core.handle.Context ctx,
Throwable e)
onError in interface org.noear.solon.core.handle.ContextAsyncListenerCopyright © 2025. All rights reserved.