StatsListener
and UIServer.attach(StatsStorage)
. See examples repo for how.@Deprecated public class FlowIterationListener extends java.lang.Object implements IterationListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INPUT
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
FlowIterationListener()
Deprecated.
|
|
FlowIterationListener(int frequency)
Deprecated.
Creates IterationListener and attaches it local UIServer instance
|
|
FlowIterationListener(StatsStorageRouter ssr,
int frequency,
java.lang.String sessionID,
java.lang.String workerID,
boolean openBrowser)
Deprecated.
|
|
FlowIterationListener(java.lang.String address,
int port,
int frequency)
Deprecated.
|
|
FlowIterationListener(UiConnectionInfo connectionInfo,
int frequency)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ModelInfo |
buildModelInfo(Model model)
Deprecated.
|
protected void |
buildModelState(Model model)
Deprecated.
|
protected java.util.List<LayerInfo> |
flattenToY(ModelInfo model,
GraphVertex[] vertices,
java.util.List<java.lang.String> currentInput,
int currentY)
Deprecated.
This method returns all Layers connected to the currentInput
|
void |
invoke()
Deprecated.
Change invoke to true
|
boolean |
invoked()
Deprecated.
Get if listener invoked
|
void |
iterationDone(Model model,
int iteration)
Deprecated.
Event listener for each iteration
|
protected java.lang.String |
parseTime(long milliseconds)
Deprecated.
|
public static final java.lang.String INPUT
protected FlowIterationListener()
public FlowIterationListener(int frequency)
frequency
- update frequency@Deprecated public FlowIterationListener(@NonNull java.lang.String address, int port, int frequency)
public FlowIterationListener(StatsStorageRouter ssr, int frequency, java.lang.String sessionID, java.lang.String workerID, boolean openBrowser)
@Deprecated public FlowIterationListener(@NonNull UiConnectionInfo connectionInfo, int frequency)
public boolean invoked()
invoked
in interface IterationListener
public void invoke()
invoke
in interface IterationListener
public void iterationDone(Model model, int iteration)
iterationDone
in interface IterationListener
model
- the model iteratingiteration
- the iterationprotected java.util.List<LayerInfo> flattenToY(ModelInfo model, GraphVertex[] vertices, java.util.List<java.lang.String> currentInput, int currentY)
vertices
- currentInput
- currentY
- protected void buildModelState(Model model)
protected java.lang.String parseTime(long milliseconds)