Class PolicyHelper.SessionWrapper

  • Enclosing class:
    PolicyHelper

    public static class PolicyHelper.SessionWrapper
    extends Object
    • Constructor Detail

      • SessionWrapper

        public SessionWrapper​(Policy.Session session,
                              org.apache.solr.client.solrj.cloud.autoscaling.PolicyHelper.SessionRef ref)
    • Method Detail

      • getCreateTime

        public long getCreateTime()
      • getLastUpdateTime

        public long getLastUpdateTime()
      • getRefCount

        public int getRefCount()
      • returnSession

        public void returnSession​(Policy.Session session)
        return this for later use and update the session with the latest state ensure that this is done after computing the suggestions
      • release

        public void release()