@InterfaceAudience.Private public class EnvironmentEdgeManager extends java.lang.Object
EnvironmentEdge, then
defer to the delegate on invocation.| Modifier and Type | Method and Description |
|---|---|
static long |
currentTime()
Defers to the delegate and calls the
EnvironmentEdge.currentTime() method. |
static EnvironmentEdge |
getDelegate()
Retrieves the singleton instance of the
EnvironmentEdge that is
being managed. |
static void |
injectEdge(EnvironmentEdge edge)
Injects the given edge such that it becomes the managed entity.
|
static void |
reset()
Resets the managed instance to the default instance:
DefaultEnvironmentEdge. |
public static EnvironmentEdge getDelegate()
EnvironmentEdge that is
being managed.public static void reset()
DefaultEnvironmentEdge.public static void injectEdge(EnvironmentEdge edge)
edge - the new edge.public static long currentTime()
EnvironmentEdge.currentTime() method.