1 21 22 package org.apache.derby.iapi.store.raw; 23 24 import org.apache.derby.iapi.services.diag.Diagnosticable; 25 import org.apache.derby.iapi.services.diag.DiagnosticableGeneric; 26 import org.apache.derby.iapi.services.diag.DiagnosticUtil; 27 28 import org.apache.derby.iapi.error.StandardException; 29 30 36 37 public class D_RowLock extends DiagnosticableGeneric 38 { 39 private static String [] names = { "RS2", "RS3", "RU2", "RU3", "RIP", "RI", "RX2", "RX3" }; 41 42 47 public String diag() 48 throws StandardException 49 { 50 RowLock mode = (RowLock) diag_object; 51 52 return(names[mode.getType()]); 53 } 54 } 55 | Popular Tags |