org.opengroup.arm40.transaction

Interface ArmConstants

public interface ArmConstants

Constants that are widely used in the ARM 4.0 interfaces. They are declared in one interface as a matter of convenience (instead of duplicating them in multiple interfaces).

Author: ARM Working Group of The Open Group

Field Summary
static intCORR_MAX_LENGTH
Maximum length of a correlator (currently = 512 bytes)
static intCORR_MIN_LENGTH
Minimum length of a correlator ( = 4 bytes)
static intDIAG_DETAILS_MAX_LENGTH
Maximum length of diagnostic details string (currently = 4095 characters)
static intID_LENGTH
Length of all IDs (16 bytes)
static intMETRIC_MAX_COUNT
Maximum number of metric slots (currently = 7)
static intMETRIC_MAX_INDEX
Maximum index of a metric slot (currently = 6)
static intMETRIC_MIN_INDEX
Minimum index of a metric slot (currently = 0)
static intNAME_MAX_LENGTH
Maximum chars in app/tran/metric name (currently = 127)
static intPROPERTY_MAX_COUNT
Maximum number of identity and context properties (currently = 20)
static intPROPERTY_MAX_INDEX
Maximum array index of an identity or context property (currently = 19)
static intPROPERTY_MIN_INDEX
Minimum array index of an identity or context property (currently = 0)
static intPROPERTY_NAME_MAX_LENGTH
Maximum chars in an identity or context property (currently = 127)
static intPROPERTY_URI_MAX_LENGTH
Maximum chars in an URI property (currently = 4095)
static intPROPERTY_VALUE_MAX_LENGTH
Maximum chars in an identity or context property (currently = 255)
static intSTATUS_ABORT
Valid status value for ArmTranReport and ArmTransaction (=1)
static intSTATUS_FAILED
Valid status value for ArmTranReport and ArmTransaction (=2)
static intSTATUS_GOOD
Valid status value for ArmTranReport and ArmTransaction (=0)
static intSTATUS_INVALID
Status value used when application passes an invalid value (=-1)
static intSTATUS_UNKNOWN
Valid status value for ArmTranReport and ArmTransaction (=3)
static intUSE_CURRENT_TIME
Used with ArmTranReport (currently = -1)

Field Detail

CORR_MAX_LENGTH

public static final int CORR_MAX_LENGTH
Maximum length of a correlator (currently = 512 bytes)

CORR_MIN_LENGTH

public static final int CORR_MIN_LENGTH
Minimum length of a correlator ( = 4 bytes)

DIAG_DETAILS_MAX_LENGTH

public static final int DIAG_DETAILS_MAX_LENGTH
Maximum length of diagnostic details string (currently = 4095 characters)

ID_LENGTH

public static final int ID_LENGTH
Length of all IDs (16 bytes)

METRIC_MAX_COUNT

public static final int METRIC_MAX_COUNT
Maximum number of metric slots (currently = 7)

METRIC_MAX_INDEX

public static final int METRIC_MAX_INDEX
Maximum index of a metric slot (currently = 6)

METRIC_MIN_INDEX

public static final int METRIC_MIN_INDEX
Minimum index of a metric slot (currently = 0)

NAME_MAX_LENGTH

public static final int NAME_MAX_LENGTH
Maximum chars in app/tran/metric name (currently = 127)

PROPERTY_MAX_COUNT

public static final int PROPERTY_MAX_COUNT
Maximum number of identity and context properties (currently = 20)

PROPERTY_MAX_INDEX

public static final int PROPERTY_MAX_INDEX
Maximum array index of an identity or context property (currently = 19)

PROPERTY_MIN_INDEX

public static final int PROPERTY_MIN_INDEX
Minimum array index of an identity or context property (currently = 0)

PROPERTY_NAME_MAX_LENGTH

public static final int PROPERTY_NAME_MAX_LENGTH
Maximum chars in an identity or context property (currently = 127)

PROPERTY_URI_MAX_LENGTH

public static final int PROPERTY_URI_MAX_LENGTH
Maximum chars in an URI property (currently = 4095)

PROPERTY_VALUE_MAX_LENGTH

public static final int PROPERTY_VALUE_MAX_LENGTH
Maximum chars in an identity or context property (currently = 255)

STATUS_ABORT

public static final int STATUS_ABORT
Valid status value for ArmTranReport and ArmTransaction (=1)

STATUS_FAILED

public static final int STATUS_FAILED
Valid status value for ArmTranReport and ArmTransaction (=2)

STATUS_GOOD

public static final int STATUS_GOOD
Valid status value for ArmTranReport and ArmTransaction (=0)

STATUS_INVALID

public static final int STATUS_INVALID
Status value used when application passes an invalid value (=-1)

STATUS_UNKNOWN

public static final int STATUS_UNKNOWN
Valid status value for ArmTranReport and ArmTransaction (=3)

USE_CURRENT_TIME

public static final int USE_CURRENT_TIME
Used with ArmTranReport (currently = -1)