Class DefaultFutureManager
java.lang.Object
com.iohao.net.framework.communication.DefaultFutureManager
- All Implemented Interfaces:
FutureManager
DefaultFutureManager
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-09-16
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong<T> CompletableFuture<T> ofFuture(long futureId) <T> CompletableFuture<T> remove(long futureId) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FutureManager
cleanTimeouts, complete
-
Constructor Details
-
DefaultFutureManager
public DefaultFutureManager()
-
-
Method Details
-
nextFutureId
public long nextFutureId()- Specified by:
nextFutureIdin interfaceFutureManager
-
ofFuture
- Specified by:
ofFuturein interfaceFutureManager
-
remove
- Specified by:
removein interfaceFutureManager
-