Class RestockTask

  • All Implemented Interfaces:
    Comparable<Task>

    public class RestockTask
    extends Task
    A default implementation of Task to perform the restocking of items. You can submit items to buy or sell via StockMarketService, any submissions will set the task active. This task is blocking and initialized with a priority of 1000.