class InstrumentSampleFactory
extends java.lang.Object
| Constructor and Description |
|---|
InstrumentSampleFactory() |
| Modifier and Type | Method and Description |
|---|---|
(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.
|
static InstrumentSample getInstrumentSample(InstrumentProxy instrumentProxy, int type, java.lang.String name, long interval, int size, java.lang.String description, long lease)
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.