Class ClusterState.CollectionRef

  • Enclosing class:
    ClusterState

    public static class ClusterState.CollectionRef
    extends Object
    • Constructor Detail

    • Method Detail

      • getCount

        public int getCount()
      • get

        public DocCollection get()
        Return the DocCollection, always refetching if lazy. Equivalent to get(false)
        Returns:
        The collection state modeled in zookeeper
      • get

        public 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
      • isLazilyLoaded

        public boolean isLazilyLoaded()