Class QueueTracker.BinCount

  • Enclosing class:
    QueueTracker

    protected static class QueueTracker.BinCount
    extends java.lang.Object
    This is the class which allows a mutable integer count value to be saved in the bincount table.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int count
      The count
    • Constructor Summary

      Constructors 
      Constructor Description
      BinCount()
      Create
    • Field Detail

      • count

        protected int count
        The count
    • Constructor Detail

      • BinCount

        public BinCount()
        Create
    • Method Detail

      • increment

        public void increment()
        Increment the counter
      • decrement

        public boolean decrement()
        Decrement the counter, returning true if empty
      • setValue

        public void setValue​(int count)
        Set the counter value
      • getValue

        public int getValue()
        Get the counter value