Package com.linkedin.alpini.router.api
Interface RouterTimeoutProcessor
-
- All Superinterfaces:
java.util.concurrent.Executor
- All Known Implementing Classes:
TimerTimeoutProcessor
public interface RouterTimeoutProcessor extends java.util.concurrent.Executor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RouterTimeoutProcessor.TimeoutFuture
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RouterTimeoutProcessor
adapt(TimeoutProcessor timeoutProcessor)
RouterTimeoutProcessor.TimeoutFuture
schedule(java.lang.Runnable task, long scheduleDelay, java.util.concurrent.TimeUnit unit)
<T> T
unwrap(java.lang.Class<T> clazz)
-
-
-
Method Detail
-
schedule
@Nonnull RouterTimeoutProcessor.TimeoutFuture schedule(@Nonnull java.lang.Runnable task, @Nonnegative long scheduleDelay, @Nonnull java.util.concurrent.TimeUnit unit)
-
unwrap
@Nonnull <T> T unwrap(@Nonnull java.lang.Class<T> clazz)
-
adapt
static RouterTimeoutProcessor adapt(TimeoutProcessor timeoutProcessor)
-
-