Class NextBidTask

  • All Implemented Interfaces:
    CancelableRunnable, java.lang.Runnable

    public class NextBidTask
    extends java.lang.Object
    implements CancelableRunnable
    Task for an auction bid.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Nov 11, 2016
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private IAuction auction  
      private com.google.common.eventbus.AsyncEventBus clientServerEventBus  
      private java.util.Random rnd  
      private boolean run  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()
      Cancel the execution of the Runnable.
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • clientServerEventBus

        @Autowired
        @Qualifier("serverClientEventBus")
        private com.google.common.eventbus.AsyncEventBus clientServerEventBus
      • rnd

        @Autowired
        private java.util.Random rnd
      • auction

        private final IAuction auction
      • run

        private boolean run
    • Constructor Detail

      • NextBidTask

        public NextBidTask​(IAuction auction)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable