public class Scene extends Object
Modifier and Type | Method and Description |
---|---|
static void |
executeReader(Collection toRead,
Runnable reader)
Not implemented yet.
|
static void |
executeReader(SceneGraphNode toRead,
Runnable reader)
Perform a piece of code to query a
SceneGraphNode in a read-locked
state of the node. |
static void |
executeWriter(Collection toRead,
Runnable writer)
Not implemented yet.
|
static void |
executeWriter(SceneGraphNode toWriteIn,
Runnable writer)
Perform a piece of code to manipulate a
SceneGraphNode in a
write-locked state of the node. |
static void |
updateFactories(GeometryFactory... factories)
not yet tested...
|
public static void executeReader(SceneGraphNode toRead, Runnable reader)
SceneGraphNode
in a read-locked
state of the node. The code is encapsulated in a Runnable
and can
safely assume that different query methods on that node return valid values
representing the same unmodified state.executeReader(Collection,Runnable)
public static void executeReader(Collection toRead, Runnable reader)
public static void executeWriter(SceneGraphNode toWriteIn, Runnable writer)
SceneGraphNode
in a
write-locked state of the node. The code is encapsulated in a
Runnable
and no other code can get a read-lock while it's
run
method is being executed. So no-one will
read an in-between state.executeWriter(Collection,Runnable)
public static void executeWriter(Collection toRead, Runnable writer)
public static void updateFactories(GeometryFactory... factories)
factories
-