com.intellij.util.concurrency.EdtExecutorService
instead@Deprecated
public class TransferToEDTQueue<T>
extends java.lang.Object
offer(Object)
} : schedules element for processing in EDT (via invokeLater)Constructor and Description |
---|
TransferToEDTQueue(java.lang.String name,
Processor<? super T> processor,
Condition<?> shutUpCondition)
Deprecated.
|
TransferToEDTQueue(java.lang.String name,
Processor<? super T> processor,
Condition<?> shutUpCondition,
int maxUnitOfWorkThresholdMs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TransferToEDTQueue<java.lang.Runnable> |
createRunnableMerger(java.lang.String name)
Deprecated.
|
static TransferToEDTQueue<java.lang.Runnable> |
createRunnableMerger(java.lang.String name,
int maxUnitOfWorkThresholdMs)
Deprecated.
|
void |
drain()
Deprecated.
|
java.util.Collection<T> |
dump()
Deprecated.
|
boolean |
offer(T thing)
Deprecated.
|
boolean |
offerIfAbsent(T thing)
Deprecated.
|
boolean |
offerIfAbsent(T thing,
<any> equality)
Deprecated.
|
protected void |
schedule(java.lang.Runnable updateRunnable)
Deprecated.
|
int |
size()
Deprecated.
|
void |
stop()
Deprecated.
|
void |
waitFor()
Deprecated.
|
public TransferToEDTQueue(java.lang.String name, Processor<? super T> processor, Condition<?> shutUpCondition)
public static TransferToEDTQueue<java.lang.Runnable> createRunnableMerger(java.lang.String name)
public static TransferToEDTQueue<java.lang.Runnable> createRunnableMerger(java.lang.String name, int maxUnitOfWorkThresholdMs)
public boolean offer(T thing)
public boolean offerIfAbsent(T thing)
public boolean offerIfAbsent(T thing, <any> equality)
protected void schedule(java.lang.Runnable updateRunnable)
public void stop()
public int size()
public java.util.Collection<T> dump()
public void drain()
public void waitFor()