| Package | Description |
|---|---|
| net.anotheria.moskito.core.util.storage |
This package contains a utility for storage monitoring.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Storage<K,V> |
Storage.createConcurrentHashMapStorage()
Factory method to create a new storage backed by a concurrent hash map.
|
static <K,V> Storage<K,V> |
Storage.createConcurrentHashMapStorage(int initialSize)
Factory method to create a new storage backed by a concurrent hash map.
|
static <K,V> Storage<K,V> |
Storage.createConcurrentHashMapStorage(java.lang.String name)
Factory method to create a new storage backed by a concurrent hash map.
|
static <K,V> Storage<K,V> |
Storage.createConcurrentHashMapStorage(java.lang.String name,
int initialSize)
Factory method to create a new storage backed by a concurrent hash map.
|
static <K,V> Storage<K,V> |
Storage.createHashMapStorage()
Factory method to create a new storage backed by a hashmap.
|
static <K,V> Storage<K,V> |
Storage.createHashMapStorage(int initialSize)
Factory method to create a new storage backed by a hashmap.
|
static <K,V> Storage<K,V> |
Storage.createHashMapStorage(java.lang.String name)
Factory method to create a new storage backed by a hashmap.
|
static <K,V> Storage<K,V> |
Storage.createHashMapStorage(java.lang.String name,
int initialSize)
Factory method to create a new storage backed by a concurrent hash map.
|
static <K,V> Storage<K,V> |
Storage.createHashtableStorage()
Factory method to create a new storage backed by a hashtable.
|
static <K,V> Storage<K,V> |
Storage.createHashtableStorage(int initialSize)
Factory method to create a new storage backed by a hashtable.
|
static <K,V> Storage<K,V> |
Storage.createHashtableStorage(java.lang.String name)
Factory method to create a new storage backed by a hashtable.
|
static <K,V> Storage<K,V> |
Storage.createHashtableStorage(java.lang.String name,
int initialSize)
Factory method to create a new storage backed by a hashtable.
|
static <K,V> Storage<K,V> |
Storage.createTreeMapStorage(java.lang.String name)
Creates a new TreeMap backed Storage.
|
static <K,V> Storage<K,V> |
Storage.createTreeMapStorage(java.lang.String name,
java.util.Comparator comparator)
Creates a new TreeMap backed Storage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Storage.putAll(Storage<? extends K,? extends V> anotherStorage)
Puts all elements from anotherStorage to this storage.
|
Copyright © 2010-2020 anotheria.net. All Rights Reserved.