public class InMemoryInstrumentation extends Object implements Instrumentation
CREATED, DESTROYED| Constructor and Description |
|---|
InMemoryInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
List<DataBufferLogEntry> |
getDataBufferLogEntries() |
Collection<LogEntry> |
getDestroyed()
Get the destroyed ndarrays
|
List<LogEntry> |
getEntries() |
Collection<LogEntry> |
getStillAlive()
Get the still alive ndarrays
|
boolean |
isDestroyed(String id)
Returns whether the given ndarray has been destroyed
|
void |
log(DataBuffer buffer)
Data buffer to log
|
void |
log(DataBuffer buffer,
String status)
Data buffer to log
|
void |
log(INDArray toLog)
Log the given ndarray
|
void |
log(INDArray toLog,
String status)
Log the given ndarray
|
void |
setDataBufferLogEntries(List<DataBufferLogEntry> dataBufferLogEntries) |
void |
setEntries(List<LogEntry> entries) |
public void log(INDArray toLog, String status)
Instrumentationlog in interface InstrumentationtoLog - the ndarray to logstatus - the statuspublic void log(DataBuffer buffer, String status)
Instrumentationlog in interface Instrumentationbuffer - the buffer to logstatus - the statuspublic void log(INDArray toLog)
Instrumentationlog in interface InstrumentationtoLog - the ndarray to logpublic void log(DataBuffer buffer)
Instrumentationlog in interface Instrumentationbuffer - the buffer to logpublic Collection<LogEntry> getStillAlive()
InstrumentationgetStillAlive in interface Instrumentationpublic Collection<LogEntry> getDestroyed()
InstrumentationgetDestroyed in interface Instrumentationpublic boolean isDestroyed(String id)
InstrumentationisDestroyed in interface Instrumentationid - the id to checkpublic List<DataBufferLogEntry> getDataBufferLogEntries()
public void setDataBufferLogEntries(List<DataBufferLogEntry> dataBufferLogEntries)
Copyright © 2016. All Rights Reserved.