Class SecuredSupplier<T>

java.lang.Object
org.gridgain.internal.security.context.SecuredSupplier<T>
All Implemented Interfaces:
Supplier<T>

public class SecuredSupplier<T> extends Object implements Supplier<T>
Wrap supplier with given security context set to the executor's thread local state. After execution the original security context is restored.
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface Supplier<T>