| Constructor and Description |
|---|
CacheDSL() |
| Modifier and Type | Method and Description |
|---|---|
Cache<K,V> |
build() |
int |
capacity() |
CacheDSL<K,V> |
capacity(int capacity) |
ScheduledThreadPoolExecutor |
crawler() |
CacheDSL |
crawler(ScheduledThreadPoolExecutor crawler) |
Mapper<K,V> |
loader() |
CacheDSL<K,V> |
loader(Mapper<K,V> loader) |
boolean |
manageable() |
CacheDSL |
manageable(boolean manageable) |
String |
name() |
CacheDSL |
name(String name) |
Mapper<K,V> |
of()
Deprecated.
|
CacheDSL<K,V> |
of(Mapper<K,V> of)
Deprecated.
|
boolean |
statistics() |
CacheDSL |
statistics(boolean statistics) |
long |
ttl() |
CacheDSL<K,V> |
ttl(long ttl) |
@Deprecated public Mapper<K,V> of()
public String name()
public int capacity()
public long ttl()
public ScheduledThreadPoolExecutor crawler()
public CacheDSL crawler(ScheduledThreadPoolExecutor crawler)
public boolean statistics()
public CacheDSL statistics(boolean statistics)
public boolean manageable()
public CacheDSL manageable(boolean manageable)
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.