| 
            abstract
            
            
            
            <T extends V>
            Pointer<V>
         | 
        
        allocate(K key, Class<T> type, int size)
        
        Explicitly allocated a bunch of bytes in the cache using a given key and type and returns the created
  Pointer.  
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        clear()
        
         Clears the whole cache by removing all stored keys. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        collectAll()
        
        Tells the  CacheService to collect and remove all expired AND least frequently used keys.  
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        collectExpired()
        
        Tells the  CacheService to collect and remove all expired keys.  
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        collectLFU()
        
        Tells the  CacheService to collect and remove all least frequently used keys.  
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        dump()
        
        Dumps information about the actual internal  MemoryManagerService to the configured Logger with
 info loglevel.  
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            long
         | 
        
        entries()
        
         Retrieves the count of the current entries. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        free(K key)
        
         Removes the key and frees the underlying memory area. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        free(Pointer<V> pointer)
        
         Removes the pointer and frees the underlying memory area. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            Map<K, Pointer<V>>
         | 
        
        getMap()
        
        Retrieves a map of all available keys and their according  Pointers.  
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            MemoryManagerService<V>
         | 
        
        getMemoryManager()
        
        
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            Pointer<V>
         | 
        
        getPointer(K key)
        
        Retrieves the accociated  Pointer to the given key or null if no pointer was found.  
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            Serializer
         | 
        
        getSerializer()
        
        Retrieves the internally used  Serializer implementation.  
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            Pointer<V>
         | 
        
        put(K key, V value, int expiresIn)
        
         Serializes and stored the given value using the key and sets the expiresIn value for the expiration of the key. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            Pointer<V>
         | 
        
        put(K key, V value)
        
         Serializes and stored the given value using the key with no expiration value. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            Pointer<V>
         | 
        
        putByteArray(K key, byte[] payload)
        
         Stored a preserialized payload with the given key with no expiration value. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            Pointer<V>
         | 
        
        putByteArray(K key, byte[] payload, long expiresIn)
        
         Stored a preserialized payload with the given key. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            V
         | 
        
        retrieve(K key)
        
         Retrieves the stored, deserialized value for key. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            byte[]
         | 
        
        retrieveByteArray(K key)
        
         Retrieves the stored payload for key as a bytearray. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        scheduleDisposalEvery(long period)
        
         Schedules the disposal event with the given period in milliseconds. 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            void
         | 
        
        scheduleDisposalEvery(long period, TimeUnit unit)
        
         Schedules the disposal event with the given period with the given TimeUnit. 
  
   |