Class UsersCache


  • public class UsersCache
    extends Object
    This cache will store GCubeUser of the users of the infrastructure as couples {user-id, user screename}
    Author:
    Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
    • Method Detail

      • getSingleton

        public static UsersCache getSingleton()
        Get the singleton object
      • getUser

        public org.gcube.vomanagement.usermanagement.model.GCubeUser getUser​(long userId)
        Retrieve an entry
        Parameters:
        id -
        Returns:
        user associated to the user
      • pushEntry

        public void pushEntry​(long id,
                              org.gcube.vomanagement.usermanagement.model.GCubeUser user)
        Save an entry into the cache
        Parameters:
        id -
        user -