1 4 package com.tc.objectserver.managedobject; 5 6 import com.tc.object.ObjectID; 7 8 import java.io.IOException ; 9 import java.io.ObjectInput ; 10 import java.util.Map ; 11 12 17 public class PartialMapManagedObjectState extends MapManagedObjectState { 18 19 protected PartialMapManagedObjectState(long classID, Map map) { 20 super(classID, map); 21 } 22 23 public PartialMapManagedObjectState(ObjectInput in) throws IOException { 24 super(in); 25 } 26 27 public void addObjectReferencesTo(ManagedObjectTraverser traverser) { 28 traverser.addRequiredObjectIDs(getObjectReferencesFrom(references.keySet())); 29 traverser.addReachableObjectIDs(getObjectReferencesFrom(references.values())); 30 } 31 32 protected void addBackReferenceForValue(BackReferences includeIDs, ObjectID value, ObjectID map) { 33 return; 35 } 36 37 public byte getType() { 38 return PARTIAL_MAP_TYPE; 39 } 40 41 static MapManagedObjectState readFrom(ObjectInput in) throws IOException , ClassNotFoundException { 42 if (false) { 43 throw new ClassNotFoundException (); 46 } 47 return new PartialMapManagedObjectState(in); 48 } 49 } 50 | Popular Tags |