Interface UserContext<PC,TC>

Type Parameters:
PC - the persistent context type
TC - the transient context type
All Known Implementing Classes:
UserContextEntry

public interface UserContext<PC,TC>
Cache entry storing persistent and transient user context.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the persistent context of the associated user.
    Returns the transient context of the associated user.
  • Method Details

    • getPersistentContext

      PC getPersistentContext()
      Returns the persistent context of the associated user.
      Returns:
      the persistent context of the associated user.
    • getTransientContext

      Supplied<TC> getTransientContext()
      Returns the transient context of the associated user.
      Returns:
      the transient context of the associated user.