org.terracotta.context.extended
Interface OperationType


public interface OperationType

Author:
Ludovic Orban

Method Summary
 Query context()
          Query that select context nodes for this statistic.
 String operationName()
          The name of the statistic as found in the statistics context tree.
 boolean required()
          If this statistic is required.
 Set<String> tags()
          A set of tags that will be on the statistic found in the statistics context tree.
 Class<? extends Enum<?>> type()
          Operation result type.
 

Method Detail

required

boolean required()
If this statistic is required.

If required and this statistic is not present an exception will be thrown.

Returns:
true if required

context

Query context()
Query that select context nodes for this statistic.

Returns:
context query

type

Class<? extends Enum<?>> type()
Operation result type.

Returns:
operation result type

operationName

String operationName()
The name of the statistic as found in the statistics context tree.

Returns:
the statistic name

tags

Set<String> tags()
A set of tags that will be on the statistic found in the statistics context tree.

Returns:
the statistic tags


Copyright © 2015. All Rights Reserved.