Class Cache


  • public class Cache
    extends java.lang.Object
    Cache identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      Cache​(CacheId cacheId, java.lang.String securityOrigin, java.lang.String storageKey, java.util.Optional<StorageBucket> storageBucket, java.lang.String cacheName)  
    • Constructor Detail

      • Cache

        public Cache​(CacheId cacheId,
                     java.lang.String securityOrigin,
                     java.lang.String storageKey,
                     java.util.Optional<StorageBucket> storageBucket,
                     java.lang.String cacheName)
    • Method Detail

      • getCacheId

        public CacheId getCacheId()
        An opaque unique id of the cache.
      • getSecurityOrigin

        public java.lang.String getSecurityOrigin()
        Security origin of the cache.
      • getStorageKey

        public java.lang.String getStorageKey()
        Storage key of the cache.
      • getStorageBucket

        public java.util.Optional<StorageBucket> getStorageBucket()
        Storage bucket of the cache.
      • getCacheName

        public java.lang.String getCacheName()
        The name of the cache.