Class ClientQueueList

java.lang.Object
com.automic.server.api.data.ClientQueueList
All Implemented Interfaces:
Iterable<ClientQueueList.Entry>

public class ClientQueueList extends Object implements Iterable<ClientQueueList.Entry>
  • Constructor Details

    • ClientQueueList

      public ClientQueueList()
      Instantiates a new client queue list.
  • Method Details

    • getList

      public List<ClientQueueList.Entry> getList()
      Gets the list.
      Returns:
      the list
    • setList

      public void setList(List<ClientQueueList.Entry> list)
      Sets the list.
      Parameters:
      list - the new list
    • size

      public int size()
      Size.
      Returns:
      the int
    • getQueueClientList

      public List<Integer> getQueueClientList()
      Gets the queue client list.
      Returns:
      the queue client list
    • getQueueList

      public List<String> getQueueList()
      Gets the queue list.
      Returns:
      the queue list
    • getQueueClient

      public int getQueueClient(int n)
      Gets the queue client.
      Parameters:
      n - the n
      Returns:
      the queue client
    • get

      public String get(int index)
      Gets the.
      Parameters:
      index - the index
      Returns:
      the string
    • addQueueFilter

      public void addQueueFilter(String queue)
      Adds the queue filter.
      Parameters:
      queue - the queue
    • addQueueFilter

      public void addQueueFilter(String queue, int client)
      Adds the queue filter.
      Parameters:
      queue - the queue
      client - the client
    • iterator

      public Iterator<ClientQueueList.Entry> iterator()
      Specified by:
      iterator in interface Iterable<ClientQueueList.Entry>
    • containsEmptyQueue

      public boolean containsEmptyQueue()
      Contains empty queue.
      Returns:
      true, if successful
    • getClientOfEmptyQueue

      public int getClientOfEmptyQueue()
      Gets the client of empty queue.
      Returns:
      the client of empty queue
    • clear

      public void clear()
      Clear the queueList