public class DefaultMultiStore extends Object implements Esi4JMultiStore
Esi4JStore.StoreOperation<T>| Constructor and Description |
|---|
DefaultMultiStore(Esi4JManagedMultiIndex index) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T> T |
execute(Esi4JStore.StoreOperation<T> operation)
the esi4j index currently using this store (must not change)
|
Esi4JClient |
getClient() |
String |
getIndexName()
elasticsearch index name (must not change)
|
Iterable<Esi4JStore> |
getStores() |
void |
setIndex(Esi4JIndex index) |
public DefaultMultiStore(Esi4JManagedMultiIndex index)
public String getIndexName()
Esi4JStoregetIndexName in interface Esi4JStorepublic <T> T execute(Esi4JStore.StoreOperation<T> operation)
Esi4JStoreexecute in interface Esi4JStorepublic void setIndex(Esi4JIndex index)
setIndex in interface Esi4JStorepublic Esi4JClient getClient()
getClient in interface Esi4JStoreEsi4JClient used by this store (must not change)public Iterable<Esi4JStore> getStores()
getStores in interface Esi4JMultiStoreIterable representing the latest state from the
corresponding Esi4JManagedMultiIndexpublic void close()
close in interface Esi4JStoreCopyright © 2013 Molindo GmbH. All Rights Reserved.