Package org.keycloak.utils
Class ServicesUtils
java.lang.Object
org.keycloak.utils.ServicesUtils
Deprecated.
- DELETE once only used from within legacy datastore module
Utility class for general helper methods used across the keycloak-services.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Consumer<? super T>
consumeWithTimeBound
(KeycloakSession session, long timeout, Consumer<T> func) Deprecated.timeBound
(KeycloakSession session, long timeout, Function<T, ? extends Stream<R>> func) Deprecated.static <T,
R> Function<? super T, R> timeBoundOne
(KeycloakSession session, long timeout, Function<T, R> func) Deprecated.
-
Constructor Details
-
ServicesUtils
public ServicesUtils()Deprecated.
-
-
Method Details
-
timeBound
public static <T,R> Function<? super T,? extends Stream<? extends R>> timeBound(KeycloakSession session, long timeout, Function<T, ? extends Stream<R>> func) Deprecated. -
timeBoundOne
public static <T,R> Function<? super T,R> timeBoundOne(KeycloakSession session, long timeout, Function<T, R> func) Deprecated. -
consumeWithTimeBound
public static <T> Consumer<? super T> consumeWithTimeBound(KeycloakSession session, long timeout, Consumer<T> func) Deprecated.
-