1 21 22 package org.apache.derby.impl.store.raw.xact; 23 24 import org.apache.derby.iapi.store.raw.ContainerKey; 25 import org.apache.derby.iapi.store.raw.RecordHandle; 26 27 import org.apache.derby.iapi.util.Matchable; 28 29 public final class EscalateContainerKey implements Matchable 30 { 31 32 36 private ContainerKey container_key; 37 38 42 public EscalateContainerKey(ContainerKey key) 43 { 44 container_key = key; 45 } 46 47 51 52 56 57 61 public boolean match(Object key) 62 { 63 if (key instanceof RecordHandle) 64 { 65 return(container_key.equals(((RecordHandle) key).getContainerId())); 66 } 67 68 return false; 69 } 70 } 71 | Popular Tags |