Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.server.util
Class ServerLaundryList

java.lang.Object
  extended by org.jboss.errai.bus.server.util.ServerLaundryList
All Implemented Interfaces:
LaundryList

public class ServerLaundryList
extends Object
implements LaundryList


Method Summary
 LaundryReclaim add(Laundry laundry)
          Adds a task.
 void cleanAll()
           
static ServerLaundryList get(Message message)
           
static ServerLaundryList get(QueueSession session)
           
 boolean remove(Laundry laundry)
          Removes a task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.