Class DHTDBImpl.SurveyContactState

  • Enclosing class:
    DHTDBImpl

    protected static class DHTDBImpl.SurveyContactState
    extends java.lang.Object
    • Field Detail

      • creation_time

        private final long creation_time
      • timeout

        private final long timeout
      • last_used

        private long last_used
      • mappings

        private final java.util.Set<DHTDBMapping> mappings
      • consec_fails

        private int consec_fails
    • Method Detail

      • timeout

        protected boolean timeout​(long now)
      • getCreationTime

        protected long getCreationTime()
      • updateUseTime

        protected void updateUseTime()
      • getLastUseTime

        protected long getLastUseTime()
      • contactOK

        protected void contactOK()
      • contactFailed

        protected void contactFailed()
      • getConsecFails

        protected int getConsecFails()
      • testMapping

        protected boolean testMapping​(DHTDBMapping mapping)
      • getMappings

        protected java.util.Set<DHTDBMapping> getMappings()
      • addMapping

        protected void addMapping​(DHTDBMapping mapping)
      • removeMapping

        protected void removeMapping​(DHTDBMapping mapping)
      • log

        protected void log​(java.lang.String str)