1 2 24 package com.sun.enterprise.web.connector.grizzly; 25 26 import java.util.concurrent.Callable ; 27 import java.util.concurrent.Future ; 28 29 37 public interface Rule<E> extends Callable { 38 39 42 public void attach(E o); 43 44 45 48 public E attachement(); 49 50 51 54 public void cancel(); 55 56 57 60 public void setFuture(Future future); 61 62 63 66 public void setExecutionTime(int time); 67 68 69 72 public int getExecutionTime(); 73 } 74 | Popular Tags |