Package org.apache.solr.common.cloud
Class ClusterState.CollectionRef
- java.lang.Object
- 
- org.apache.solr.common.cloud.ClusterState.CollectionRef
 
- 
- Enclosing class:
- ClusterState
 
 public static class ClusterState.CollectionRef extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description protected AtomicIntegergets
 - 
Constructor SummaryConstructors Constructor Description CollectionRef(DocCollection coll)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DocCollectionget()Return the DocCollection, always re-fetching if lazy.DocCollectionget(boolean allowCached)Return the DocCollectionintgetCount()booleanisLazilyLoaded()StringtoString()
 
- 
- 
- 
Field Detail- 
getsprotected final AtomicInteger gets 
 
- 
 - 
Constructor Detail- 
CollectionRefpublic CollectionRef(DocCollection coll) 
 
- 
 - 
Method Detail- 
getCountpublic int getCount() 
 - 
getpublic DocCollection get() Return the DocCollection, always re-fetching if lazy. Equivalent to get(false)- Returns:
- The collection state modeled in zookeeper
 
 - 
getpublic DocCollection get(boolean allowCached) Return the DocCollection- Parameters:
- allowCached- Determines if cached value can be used. Applies only to LazyCollectionRef.
- Returns:
- The collection state modeled in zookeeper
 
 - 
isLazilyLoadedpublic boolean isLazilyLoaded() 
 
- 
 
-