1 21 22 package org.apache.derby.iapi.services.daemon; 23 24 import org.apache.derby.iapi.services.context.ContextManager; 25 import org.apache.derby.iapi.error.StandardException; 26 27 43 44 public interface Serviceable { 45 46 80 public int performWork(ContextManager context) throws StandardException; 81 82 83 84 public static int DONE = 1; public static int REQUEUE = 2; 89 90 91 103 public boolean serviceASAP(); 104 105 106 112 public boolean serviceImmediately(); 113 114 } 115 116 | Popular Tags |