public static class ClusterState.CollectionRef extends Object
Modifier and Type | Field and Description |
---|---|
protected AtomicInteger |
gets |
Constructor and Description |
---|
CollectionRef(DocCollection coll) |
Modifier and Type | Method and Description |
---|---|
DocCollection |
get()
Return the DocCollection, always refetching if lazy.
|
DocCollection |
get(boolean allowCached)
Return the DocCollection
|
int |
getCount() |
boolean |
isLazilyLoaded() |
String |
toString() |
protected final AtomicInteger gets
public CollectionRef(DocCollection coll)
public int getCount()
public DocCollection get()
public DocCollection get(boolean allowCached)
allowCached
- Determines if cached value can be used. Applies only to LazyCollectionRef.public boolean isLazilyLoaded()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.