public class PipeMemory extends AbstractPipeModel
| Modifier and Type | Field and Description |
|---|---|
static String |
FREE
Free information.
|
static String |
MAX
Max information.
|
static String |
TOTAL
Total information.
|
| Constructor and Description |
|---|
PipeMemory() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
check, processpublic static final String FREE
public static final String TOTAL
public static final String MAX
public IChannel process(IChannel channel, Map<String,Object> model) throws PipelineException
AbstractPipeModelprocess 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.Copyright © 2016. All rights reserved.