com.tibco.rta
Interface Metric<N>

Type Parameters:
N - The data type of the metric.
All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
MultiValueMetric<N>, SingleValueMetric<N>

public interface Metric<N>
extends java.io.Serializable

This represents the computed metric.


Method Summary
 Metric<N> deepCopy()
          Deep copy this metric node.
 long getCreatedTime()
          Timestamp in milliseconds when this metric was created.
 MetricValueDescriptor getDescriptor()
          Get the associated descriptor
 java.lang.Object getDimensionValue()
          Gets the value of the dimension that this metric represents.
 Key getKey()
          Gets its primary key
 long getLastModifiedTime()
          Timestamp in milliseconds when this metric was updated.
 boolean isMultiValued()
           
 void setDescriptor(MetricValueDescriptor descriptor)
          A descriptor associated with this metric like schema, cube, etc.
 void setKey(Key key)
          Sets its primary key
 

Method Detail

getKey

Key getKey()
Gets its primary key

Returns:
the Key

setKey

void setKey(Key key)
Sets its primary key

Parameters:
key -

getDimensionValue

java.lang.Object getDimensionValue()
Gets the value of the dimension that this metric represents.

Returns:

getDescriptor

MetricValueDescriptor getDescriptor()
Get the associated descriptor

Returns:

setDescriptor

void setDescriptor(MetricValueDescriptor descriptor)
A descriptor associated with this metric like schema, cube, etc.

Parameters:
descriptor -

isMultiValued

boolean isMultiValued()
Returns:
return true if its a multivalue metric, false otherwise

deepCopy

Metric<N> deepCopy()
Deep copy this metric node.

Returns:
a new deep copied metric node.

getCreatedTime

long getCreatedTime()
Timestamp in milliseconds when this metric was created.

Returns:
creation time in milliseconds

getLastModifiedTime

long getLastModifiedTime()
Timestamp in milliseconds when this metric was updated.

Returns:
modification time in milliseconds.


Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.