Package org.eclipse.net4j.util.concurrent

# Klasse ConcurrencyUtil

java.lang.Object
org.eclipse.net4j.util.concurrent.ConcurrencyUtil

public final class ConcurrencyUtil extends Object

Autor:
  Eike Stepper

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`static void`
`checkCancelation(IProgressMonitor monitor)`
`static void`
`execute(Object executor, Runnable runnable)`
`static ExecutorService`
`getExecutorService(Object object)`
`static ExecutorService`
`getExecutorService(IManagedContainer container)`
`static void`
`log(String msg)`
`static void`
`setThreadName(String name)`
`static void`
`setThreadName(Thread thread, String name)`
`static void`
`sleep(long millis)`
`static void`
`sleep(long millis, int nanos)`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Methodendetails

### sleep

public static void sleep(long millis)

### sleep

public static void sleep(long millis, int nanos)

### getExecutorService

public static ExecutorService getExecutorService(IManagedContainer container)

Seit:
  3.5

### getExecutorService

public static ExecutorService getExecutorService(Object object)

Seit:
  3.6

### execute

public static void execute(Object executor, Runnable runnable)

Seit:
  3.6

### setThreadName

public static void setThreadName(Thread thread, String name)

Seit:
  3.8

### setThreadName

public static void setThreadName(String name)

Seit:
  3.9

### log

public static void log(String msg)

Seit:
  3.9

### checkCancelation

public static void checkCancelation(IProgressMonitor monitor) throws OperationCanceledException

Löst aus:
  `OperationCanceledException`
Seit:
  3.13