public final class DirectoryBuilder extends Object
Directory implementation which stored data
in the data grid.| Modifier and Type | Method and Description |
|---|---|
static BuildContext |
newDirectoryInstance(Cache<?,?> metadataCache,
Cache<?,?> chunksCache,
Cache<?,?> distLocksCache,
String indexName)
Starting point to create a Directory instance.
|
public static BuildContext newDirectoryInstance(Cache<?,?> metadataCache, Cache<?,?> chunksCache, Cache<?,?> distLocksCache, String indexName)
metadataCache - contains the metadata of stored elementschunksCache - cache containing the bulk of the index; this is the larger part of datadistLocksCache - cache to store locks; should be replicated and not using a persistent CacheStoreindexName - identifies the index; you can store different indexes in the same set of caches using different identifiersCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.