Interface BinaryDataCache.Entry

  • Enclosing interface:
    BinaryDataCache

    public static interface BinaryDataCache.Entry
    Represents a data element stored in the cache
    • Method Detail

      • getKey

        @NotNull
        String getKey()
        Returns:
        the key of the element
      • getBytes

        @Nullable
        byte[] getBytes()
        Returns:
        the content in the form of a byte array or null if no content present
      • getStream

        @Nullable
        InputStream getStream()
        Returns:
        the content in the form of an input stream or null if no content present