1 6 package org.logicalcobwebs.proxool; 7 8 import java.util.Date ; 9 10 11 29 public interface ConnectionInfoIF extends Comparable { 30 31 35 static final int MARK_FOR_USE = 0; 36 37 41 static final int MARK_FOR_EXPIRY = 1; 42 43 47 static final int STATUS_NULL = 0; 48 49 53 static final int STATUS_AVAILABLE = 1; 54 55 59 static final int STATUS_ACTIVE = 2; 60 61 65 static final int STATUS_OFFLINE = 3; 66 67 72 long getBirthTime(); 73 74 78 Date getBirthDate(); 79 80 83 long getAge(); 84 85 88 long getId(); 89 90 99 int getMark(); 100 101 108 int getStatus(); 109 110 114 long getTimeLastStartActive(); 115 116 121 long getTimeLastStopActive(); 122 123 126 String getRequester(); 127 128 133 String getProxyHashcode(); 134 135 140 String getDelegateHashcode(); 141 142 147 String getDelegateUrl(); 148 149 155 String [] getSqlCalls(); 156 157 } 158 159 204 | Popular Tags |