DEFAULT_ID
Modifier and Type | Method and Description |
---|---|
int |
getId()
Get the unique integer ID associated with the
worker.
|
Object |
getSyncObject() |
static ThreadSafeIsolate |
wrap(Object syncObj,
Isolate isolate)
Wraps a Watch inside a ThreadSafeWatch.
|
static ThreadSafeIsolate[] |
wrapArray(Object syncObj,
Isolate[] isolates)
Wraps an array of Locations inside an array of ThreadSafeLocations.
|
public static ThreadSafeIsolate wrap(Object syncObj, Isolate isolate)
public static ThreadSafeIsolate[] wrapArray(Object syncObj, Isolate[] isolates)
public int getId()
Isolate
public final Object getSyncObject()
Copyright © 2016 The Apache Software Foundation. All rights reserved.