1 4 package com.tc.objectserver.core.api; 5 6 import com.tc.object.ObjectID; 7 import com.tc.object.dna.api.DNACursor; 8 import com.tc.object.dna.api.DNAWriter; 9 import com.tc.objectserver.managedobject.BackReferences; 10 import com.tc.objectserver.managedobject.ManagedObjectTraverser; 11 import com.tc.objectserver.mgmt.ManagedObjectFacade; 12 13 import java.io.IOException ; 14 import java.io.ObjectOutput ; 15 import java.util.Set ; 16 17 20 public interface ManagedObjectState { 21 22 29 public static final byte PHYSICAL_TYPE = 0x01; 30 public static final byte DATE_TYPE = 0x02; 31 public static final byte MAP_TYPE = 0x03; 32 public static final byte LINKED_HASHMAP_TYPE = 0x04; 33 public static final byte ARRAY_TYPE = 0x05; 34 public static final byte LITERAL_TYPE = 0x06; 35 public static final byte LIST_TYPE = 0x07; 36 public static final byte SET_TYPE = 0x08; 37 public static final byte TREE_SET_TYPE = 0x09; 38 public static final byte TREE_MAP_TYPE = 0x0a; 39 public static final byte QUEUE_TYPE = 0x0b; 40 public static final byte CONCURRENT_HASHMAP_TYPE = 0x0c; 41 public static final byte PROXY_TYPE = 0x0d; 42 public static final byte PARTIAL_MAP_TYPE = 0x0e; 43 44 public void apply(ObjectID objectID, DNACursor cursor, BackReferences includeIDs) throws IOException ; 45 46 public Set getObjectReferences(); 47 48 public void addObjectReferencesTo(ManagedObjectTraverser traverser); 49 50 public void dehydrate(ObjectID objectID, DNAWriter writer); 51 52 public ManagedObjectFacade createFacade(ObjectID objectID, String className, int limit); 53 54 public byte getType(); 55 56 public String getClassName(); 57 58 public String getLoaderDescription(); 59 60 public void writeTo(ObjectOutput o) throws IOException ; 61 62 } 66 | Popular Tags |