| Package | Description |
|---|---|
| org.rapidoid.cache | |
| org.rapidoid.cache.impl | |
| org.rapidoid.collection | |
| org.rapidoid.commons | |
| org.rapidoid.concurrent | |
| org.rapidoid.io | |
| org.rapidoid.lambda | |
| org.rapidoid.util |
| Modifier and Type | Method and Description |
|---|---|
Mapper<K,V> |
CacheDSL.loader() |
Mapper<K,V> |
CacheDSL.of()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> CacheAtom<V> |
Caching.atom(K key,
Mapper<K,V> loader,
long ttlInMs) |
CacheDSL<K,V> |
CacheDSL.loader(Mapper<K,V> loader) |
CacheDSL<K,V> |
CacheDSL.of(Mapper<K,V> of)
Deprecated.
|
static <K,V> CacheDSL<K,V> |
Caching.of(Mapper<K,V> of) |
| Modifier and Type | Field and Description |
|---|---|
protected Mapper<K,V> |
ConcurrentCacheAtom.loader |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> ConcurrentCache<K,V> |
ConcurrentCache.create(String name,
int capacity,
Mapper<K,V> loader,
long ttlInMs,
ScheduledThreadPoolExecutor scheduler,
boolean statistics,
boolean manageable) |
| Constructor and Description |
|---|
ConcurrentCacheAtom(K key,
Mapper<K,V> loader,
long ttlInMs) |
ConcurrentCacheAtomWithStats(K key,
Mapper<K,V> loader,
long ttlInMs,
CacheStats stats) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Map<K,V> |
Coll.autoExpandingMap(Mapper<K,V> valueFactory) |
| Constructor and Description |
|---|
AutoExpandingMap(Mapper<K,V> valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
Deep.copy(Collection<T> destination,
Collection<? extends T> source,
Mapper<Object,?> transformation) |
static <K,V> void |
Deep.copy(Map<K,V> destination,
Map<? extends K,? extends V> source,
Mapper<Object,?> transformation) |
static <T> void |
Deep.copy(T[] destination,
T[] source,
Mapper<Object,?> transformation) |
static <T> Collection<T> |
Deep.copyOf(Collection<? extends T> source,
Mapper<Object,?> transformation) |
static <K,V> Map<K,V> |
Deep.copyOf(Map<? extends K,? extends V> source,
Mapper<Object,?> transformation) |
static Object |
Deep.copyOf(Object source,
Mapper<Object,?> transformation) |
static <T> T[] |
Deep.copyOf(T[] source,
Mapper<Object,?> transformation) |
static String |
Str.replace(String target,
Pattern regex,
Mapper<String[],String> replacer) |
static String |
Str.replace(String target,
String regex,
Mapper<String[],String> replacer) |
static String |
Str.replace(String target,
String mask,
Pattern regex,
Mapper<String[],String> replacer) |
String |
StringRewriter.rewrite(String target,
Mapper<String[],String> replacer) |
| Modifier and Type | Method and Description |
|---|---|
static <FROM,TO> Callback<FROM> |
Callbacks.mapping(Callback<TO> callback,
Mapper<FROM,TO> mapper) |
static <FROM,TO> Future<TO> |
Futures.mapping(Future<FROM> future,
Mapper<FROM,TO> mapper) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
IO.readWithTimeoutUntil(InputStream input,
Mapper<byte[],Boolean> finish) |
| Modifier and Type | Method and Description |
|---|---|
static <FROM,TO> Mapper<FROM,TO> |
Lmbd.mapper(Map<FROM,TO> map) |
| Modifier and Type | Method and Description |
|---|---|
static <FROM,TO> TO |
Lmbd.eval(Mapper<FROM,TO> mapper,
FROM src) |
| Modifier and Type | Field and Description |
|---|---|
static Mapper<Object,Object> |
Msc.TRANSFORM_TO_SIMPLE_CLASS_NAME |
| Modifier and Type | Method and Description |
|---|---|
static void |
Msc.multiThreaded(int threadsN,
Mapper<Integer,Void> executable) |
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.