com.caucho.health.meter
Class MeterGraphPage

java.lang.Object
  extended by com.caucho.health.meter.MeterGraphPage
All Implemented Interfaces:
MeterGraphPageInfo, java.io.Serializable

@Configurable
public class MeterGraphPage
extends java.lang.Object
implements MeterGraphPageInfo, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
MeterGraphPage()
           
 
Method Summary
 void add(MeterGraph graph)
           
 void addGraph(MeterGraph graph)
           
 MeterGraph createGraph()
           
 int getColumns()
          Returns the preferred number of columns.
 MeterGraph[] getMeterGraphs()
          Returns the graphs on the page.
 java.lang.String getName()
          Returns the meter graphs page name.
 long getPeriod()
          Returns the preferred period in milliseconds
 void init()
           
 boolean isHeapDump()
          Should we display heap dump?
 boolean isJmxDump()
          Should we display jmx-dump?
 boolean isLog()
          Should we display log?
 boolean isProfile()
          Should we display profile?
 boolean isSummary()
          Should we display summary?
 boolean isThreadDump()
          Should we display thread-dump?
 void setColumns(int columns)
           
 void setHeapDump(boolean isEnable)
           
 void setJmxDump(boolean isEnable)
           
 void setLog(boolean isEnable)
           
 void setName(java.lang.String name)
           
 void setPeriod(Period period)
           
 void setProfile(boolean isEnable)
           
 void setSummary(boolean isEnable)
           
 void setThreadDump(boolean isEnable)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MeterGraphPage

public MeterGraphPage()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: MeterGraphPageInfo
Returns the meter graphs page name.

Specified by:
getName in interface MeterGraphPageInfo

setName

@Configurable
public void setName(java.lang.String name)

setColumns

public void setColumns(int columns)

getColumns

public int getColumns()
Description copied from interface: MeterGraphPageInfo
Returns the preferred number of columns.

Specified by:
getColumns in interface MeterGraphPageInfo

setPeriod

public void setPeriod(Period period)

getPeriod

public long getPeriod()
Description copied from interface: MeterGraphPageInfo
Returns the preferred period in milliseconds

Specified by:
getPeriod in interface MeterGraphPageInfo

setSummary

@Configurable
public void setSummary(boolean isEnable)

isSummary

public boolean isSummary()
Description copied from interface: MeterGraphPageInfo
Should we display summary?

Specified by:
isSummary in interface MeterGraphPageInfo

setLog

@Configurable
public void setLog(boolean isEnable)

isLog

public boolean isLog()
Description copied from interface: MeterGraphPageInfo
Should we display log?

Specified by:
isLog in interface MeterGraphPageInfo

setHeapDump

@Configurable
public void setHeapDump(boolean isEnable)

isHeapDump

public boolean isHeapDump()
Description copied from interface: MeterGraphPageInfo
Should we display heap dump?

Specified by:
isHeapDump in interface MeterGraphPageInfo

setProfile

@Configurable
public void setProfile(boolean isEnable)

isProfile

public boolean isProfile()
Description copied from interface: MeterGraphPageInfo
Should we display profile?

Specified by:
isProfile in interface MeterGraphPageInfo

setThreadDump

@Configurable
public void setThreadDump(boolean isEnable)

isThreadDump

public boolean isThreadDump()
Description copied from interface: MeterGraphPageInfo
Should we display thread-dump?

Specified by:
isThreadDump in interface MeterGraphPageInfo

setJmxDump

@Configurable
public void setJmxDump(boolean isEnable)

isJmxDump

public boolean isJmxDump()
Description copied from interface: MeterGraphPageInfo
Should we display jmx-dump?

Specified by:
isJmxDump in interface MeterGraphPageInfo

createGraph

public MeterGraph createGraph()

addGraph

@Configurable
public void addGraph(MeterGraph graph)

add

@Configurable
public void add(MeterGraph graph)

getMeterGraphs

public MeterGraph[] getMeterGraphs()
Description copied from interface: MeterGraphPageInfo
Returns the graphs on the page.

Specified by:
getMeterGraphs in interface MeterGraphPageInfo

init

@PostConstruct
public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object