01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.config;
05:
06: public class MethodSpec {
07: public final static int ALWAYS_LOG = 1;
08: public final static int NONE = 2;
09: public final static int HASHMAP_REMOVE_LOG = 3;
10: public final static int HASHMAP_PUT_LOG = 4;
11: public final static int HASHTABLE_REMOVE_LOG = 5;
12: public final static int HASHTABLE_PUT_LOG = 6;
13: public final static int HASHTABLE_CLEAR_LOG = 7;
14: public final static int LIST_REMOVE_LOG = 8;
15: public final static int IF_TRUE_LOG = 9;
16: public final static int SET_ITERATOR_WRAPPER_LOG = 10;
17: public final static int SORTED_SET_VIEW_WRAPPER_LOG = 11;
18: public final static int THASHMAP_PUT_LOG = 12;
19: public final static int THASH_REMOVE_AT_LOG = 13;
20: public final static int THASHSET_ADD_LOG = 14;
21: public final static int THASHSET_REMOVE_AT_LOG = 15;
22: public final static int ENTRY_SET_WRAPPER_LOG = 16;
23: public final static int KEY_SET_WRAPPER_LOG = 17;
24: public final static int VALUES_WRAPPER_LOG = 18;
25: public final static int DATE_ADD_SET_TIME_WRAPPER_LOG = 19;
26: public final static int TIMESTAMP_SET_TIME_METHOD_WRAPPER_LOG = 20;
27: public final static int LINKED_HASH_MAP_GET_METHOD_WRAPPER_LOG = 21;
28:
29: private final String name;
30: private final int instrumentationType;
31:
32: public MethodSpec(String name, int instrumentationType) {
33: this .name = name;
34: this .instrumentationType = instrumentationType;
35: }
36:
37: public String getName() {
38: return name;
39: }
40:
41: public int getInstrumentationType() {
42: return instrumentationType;
43: }
44: }
|