public class Sessions extends Object
Constructor and Description |
---|
Sessions() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupExpired() |
List<SessionFuture> |
executeTask(ExecutorService executor,
Predicate<BearerTokenWithPayload> filter,
Consumer<BearerTokenWithPayload> task) |
void |
put(BearerTokenWithPayload token) |
void |
remove(BearerTokenWithPayload token) |
public void put(BearerTokenWithPayload token)
public void remove(BearerTokenWithPayload token)
public List<SessionFuture> executeTask(ExecutorService executor, Predicate<BearerTokenWithPayload> filter, Consumer<BearerTokenWithPayload> task)
public void cleanupExpired()
Copyright © 2021. All rights reserved.