Keel 2.1RC2

org.apache.excalibur.instrument.manager
Class InstrumentSampleFactory

java.lang.Object
  extended byorg.apache.excalibur.instrument.manager.InstrumentSampleFactory

class InstrumentSampleFactory
extends java.lang.Object

The InstrumentSample represents a single data sample in a ProfileDataSet. Access to InstrumentSamples are synchronized through the ProfileDataSet.

Since:
4.1
Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:25 $
Author:

Constructor Summary
(package private) InstrumentSampleFactory()
           
 
Method Summary
(package private) static InstrumentSample getInstrumentSample(InstrumentProxy instrumentProxy, int type, java.lang.String name, long interval, int size, java.lang.String description, long lease)
          A Profile Sample Type loaded in from a Configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentSampleFactory

InstrumentSampleFactory()
Method Detail

getInstrumentSample

static InstrumentSample getInstrumentSample(InstrumentProxy instrumentProxy,
                                            int type,
                                            java.lang.String name,
                                            long interval,
                                            int size,
                                            java.lang.String description,
                                            long lease)
A Profile Sample Type loaded in from a Configuration.

Parameters:
instrumentProxy - The InstrumentProxy which owns the InstrumentSample.
type - Type of the InstrumentSample to create.
name - The name of the new InstrumentSample.
interval - The sample interval of the new InstrumentSample.
size - The number of samples to store as history.
description - The description of the new InstrumentSample.
lease - Requested lease time in milliseconds. A value of 0 implies that the lease will never expire.

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.