Package com.sun.appserv.management.ext.logging

Examples of com.sun.appserv.management.ext.logging.LogQueryResult


          final LoggingHelper helper  = createHelper( logging );
         
          final String[]  names   = logging.getLogFileNames( SERVER_KEY );
          for( final String name : names )
          {
              final LogQueryResult    result  = helper.queryAllInFile( name );
              validateResult( result );
          }
      }
  }
View Full Code Here


        final Long      stopTime        = null;
        final List<Attribute>  attrs    = null;
       
        assert( getLogging() != null );
       
        final LogQueryResult result = getLogging().queryServerLog(
            name,
            startIndex,
            searchForward,
            maxRecords,
            startTime,
View Full Code Here

        final int       maxRecords      = ALL_RECORDS;
        final Long      startTime       = now();
        final Long      stopTime        = now() - (seconds * 1000);
        final List<Attribute>  attrs    = null;
       
        final LogQueryResult result = getLogging().queryServerLog(
            name,
            startIndex,
            searchForward,
            maxRecords,
            startTime,
View Full Code Here

        final int       maxRecords      = ALL_RECORDS;
        final Long      startTime       = null;
        final Long      stopTime        = null;
        final List<Attribute>  attrs    = null;
       
        final LogQueryResult result = getLogging().queryServerLog(
            name,
            startIndex,
            searchForward,
            maxRecords,
            startTime,
View Full Code Here

      for( final String name : names )
      {
          // a log file could disappear while querying
          try
          {
              final LogQueryResult result   = queryAllInFile( name );
              all.add( result );
          }
          catch( Exception e )
          {
              // ignore and try next one.
View Full Code Here

  query()
  {
      final Logging   logging = getLogging();
      assert( logging != null );
     
        final LogQueryResult result = logging.queryServerLog(
            mLogFile,
            mStartIndex,
            mSearchForward,
            mMaxRecords,
            mStartTime,
            mStopTime,
            mLogLevel,
            mModules,
            mAttrs );
      
       final LogQueryEntry[]    entries = result.getEntries();
       if ( entries.length != 0 )
       {
            // update start index
            if ( mSearchForward )
            {
View Full Code Here

       
        if ( method.getName().equals( "queryServerLog" ) )
        {
            final List<Serializable[]>  ls  = TypeCast.asList( resultIn );
           
            final LogQueryResult converted = new LogQueryResultImpl( ls );
            resultOut   = converted;
        }
       
        return resultOut;
    }
View Full Code Here

TOP

Related Classes of com.sun.appserv.management.ext.logging.LogQueryResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.