Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.search.backend
Class WorkQueue

    java.lang.Object
      org.hibernate.search.backend.WorkQueue

    public class WorkQueue

extends java.lang.Object

Author:
  Emmanuel Bernard

Constructor Summary
`WorkQueue()`
`WorkQueue(int size)`

Method Summary
`void` | `add(Work work)`
`void` | `clear()`
`java.util.List<Work>` | `getQueue()`
`java.util.List<LuceneWork>` | `getSealedQueue()`
`void` | `setSealedQueue(java.util.List<LuceneWork> sealedQueue)`
`int` | `size()`
`WorkQueue` | `splitQueue()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WorkQueue

    public WorkQueue(int size)

### WorkQueue

    public WorkQueue()

Method Detail

### add

    public void add(Work work)

### getQueue

    public java.util.List<Work> getQueue()

### splitQueue

    public WorkQueue splitQueue()

### getSealedQueue

    public java.util.List<LuceneWork> getSealedQueue()

### setSealedQueue

    public void setSealedQueue(java.util.List<LuceneWork> sealedQueue)

### clear

    public void clear()

### size

    public int size()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2010 Hibernate. All Rights Reserved.