Interface ImmutableBean<K,​V extends BeanInstance<K>>

  • Type Parameters:
    K - the bean identifier type
    V - the bean instance type
    All Known Subinterfaces:
    Bean<K,​V>

    public interface ImmutableBean<K,​V extends BeanInstance<K>>
    Describes the immutable properties of a cached bean.
    Author:
    Paul Ferraro
    • Method Detail

      • getId

        K getId()
        Returns the identifier of this bean.
        Returns:
        a unique identifier
      • getInstance

        V getInstance()
        Returns the instance of this bean.
        Returns:
        the bean instance