Class TicketSchedulerServer
java.lang.Object
fr.ens.biologie.genomique.eoulsan.util.locker.TicketSchedulerServer
- All Implemented Interfaces:
TicketScheduler,Remote
This class define a server for the scheduler.
- Since:
- 1.1
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionvoidInform the scheduler that the ticket job has been finished.getTickets(Ticket ticket) Update a ticket by the TicketScheduler and get all the valid tickets.static void
-
Method Details
-
getTickets
Description copied from interface:TicketSchedulerUpdate a ticket by the TicketScheduler and get all the valid tickets.- Specified by:
getTicketsin interfaceTicketScheduler- Parameters:
ticket- the ticket to update- Returns:
- a set with all the valid tickets
-
endWork
Description copied from interface:TicketSchedulerInform the scheduler that the ticket job has been finished.- Specified by:
endWorkin interfaceTicketScheduler- Parameters:
ticket- the ticket that the job has been finished
-
newServer
-