| Package | Description |
|---|---|
| com.wassilak.cache_service.cache | |
| com.wassilak.cache_service.entity |
| Modifier and Type | Method and Description |
|---|---|
List<Entity<V>> |
Cache.getEntities(K key)
The getEntities method returns all entites mapped to the given key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Cache.addEntity(K key,
Entity<V> entity)
The addEntity method adds the given Entity to the cache, mapped to the given key.
|
void |
Cache.removeEntity(K key,
Entity<V> entity)
The removeEntity method removes the given Entity from the list of Entities mapped to the given key.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Entity<T> |
EntityFactory.createEntity(T object,
Long timeToLive)
The createEntity method creates an Entity object with the given parameters.
|
Copyright © 2014. All rights reserved.