|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.core.pipes.AbstractPipeModel
org.specrunner.core.pipes.PipeMemory
public class PipeMemory
Add memory information to the pipe.
| Field Summary | |
|---|---|
static String |
FREE
Free information. |
static String |
MAX
Max information. |
static String |
TOTAL
Total information. |
| Constructor Summary | |
|---|---|
PipeMemory()
|
|
| Method Summary | |
|---|---|
static Long |
lookupFree(IChannel channel)
Get the free memory information. |
static Long |
lookupMax(IChannel channel)
Get the max memory information. |
static Long |
lookupTotal(IChannel channel)
Get the total memory information. |
IChannel |
process(IChannel channel,
Map<String,Object> model)
Process the channel with the model already recovered. |
| Methods inherited from class org.specrunner.core.pipes.AbstractPipeModel |
|---|
check, process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FREE
public static final String TOTAL
public static final String MAX
| Constructor Detail |
|---|
public PipeMemory()
| Method Detail |
|---|
public IChannel process(IChannel channel,
Map<String,Object> model)
throws PipelineException
AbstractPipeModel
process in class AbstractPipeModelchannel - The pipeline channel.model - The model.
PipelineException - On pipeline errors.
public static Long lookupFree(IChannel channel)
throws NotFoundException,
InvalidTypeException
channel - The channel.
NotFoundException - On lookup errors.
InvalidTypeException - On type errors.
public static Long lookupTotal(IChannel channel)
throws NotFoundException,
InvalidTypeException
channel - The channel.
NotFoundException - On lookup errors.
InvalidTypeException - On type errors.
public static Long lookupMax(IChannel channel)
throws NotFoundException,
InvalidTypeException
channel - The channel.
NotFoundException - On lookup errors.
InvalidTypeException - On type errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||