KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > config > MethodSpec


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.config;
5
6 public class MethodSpec {
7   public final static int ALWAYS_LOG = 1;
8   public final static int NONE = 2;
9   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 JavaDoc name;
30   private final int instrumentationType;
31
32   public MethodSpec(String JavaDoc name, int instrumentationType) {
33     this.name = name;
34     this.instrumentationType = instrumentationType;
35   }
36
37   public String JavaDoc getName() {
38     return name;
39   }
40
41   public int getInstrumentationType() {
42     return instrumentationType;
43   }
44 }
45
Popular Tags