org.jboss.errai.bus.server.util
Class ServerLaundryList
java.lang.Object
org.jboss.errai.bus.server.util.ServerLaundryList
- All Implemented Interfaces:
- LaundryList
public class ServerLaundryList
- extends Object
- implements LaundryList
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static ServerLaundryList get(QueueSession session)
get
public static ServerLaundryList get(Message message)
cleanAll
public void cleanAll()
add
public LaundryReclaim add(Laundry laundry)
- Description copied from interface:
LaundryList
- Adds a task.
- Specified by:
add
in interface LaundryList
- Parameters:
laundry
- The task to run. Cannot be null.
- Returns:
- A handle on the task that can be used to run the task early (before the session has ended).
remove
public boolean remove(Laundry laundry)
- Description copied from interface:
LaundryList
- Removes a task.
- Specified by:
remove
in interface LaundryList
- Parameters:
laundry
- The task to remove.
- Returns:
- true if removed, otherwise false.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.