Interface AvatarImageSource

  • All Known Implementing Classes:
    UrlAvatarCacheSource

    public interface AvatarImageSource
    Interface for Avatar Cache Item Source

    This defines a source for avatar to be ached and implementation to fetch it

    • Method Detail

      • fetch

        AvatarImage fetch()
        Fetch image from source
        Returns:
        image as AvatarImage object
      • getId

        String getId()
        Get unique hash key for this item to be used for caching
      • canFetch

        boolean canFetch()
        Make sure we can fetch
        Returns:
        true if can fetch