Class EmptyRoomScanTask

  • All Implemented Interfaces:
    ITask

    public final class EmptyRoomScanTask
    extends AbstractLogger
    implements ITask
    To remove the empty room (a room without any players) in period time. You can configure this time in your own configurations, see BaseConfiguration
    Author:
    kong
    • Constructor Detail

      • EmptyRoomScanTask

        public EmptyRoomScanTask​(RoomApi roomApi,
                                 int emptyRoomScanPeriod)
    • Method Detail

      • run

        public java.util.concurrent.ScheduledFuture<?> run()
        Specified by:
        run in interface ITask