1 23 24 25 package com.sun.appserv.management.ext.logging; 26 27 import java.util.Map ; 28 import java.util.Set ; 29 import java.util.List ; 30 import java.util.Date ; 31 32 import java.util.logging.Level ; 33 34 import java.io.Serializable ; 35 36 import javax.management.Attribute ; 37 import javax.management.openmbean.CompositeData ; 38 39 44 public interface LogQuery 45 { 46 49 public static final String LOWEST_SUPPORTED_QUERY_LEVEL = 50 Level.WARNING.toString(); 51 52 98 public LogQueryResult 99 queryServerLog( 100 String name, 101 long startIndex, 102 boolean searchForward, 103 int maxRecords, 104 Long fromTime, 105 Long toTime, 106 String logLevel, 107 Set <String > modules, 108 List <Attribute > nameValuePairs); 109 110 114 public static final int ALL_RECORDS = -1; 115 116 120 public static final int FIRST_RECORD = 0; 121 122 126 public static final int LAST_RECORD = -1; 127 128 130 public String [] getDiagnosticCauses( String messageID ); 131 132 134 public String [] getDiagnosticChecks( String messageID ); 135 136 137 139 public String getDiagnosticURI( String messageID ); 140 141 } 142 143 144 145 146 147 148 | Popular Tags |