Package com.sun.appserv.management.util.jmx

Examples of com.sun.appserv.management.util.jmx.AttributeNameMapper.addMapping()


  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    m.addMapping( "JmsMaxMessagesLoad", "JMSMaxMessagesLoad" );
  }
 
}
View Full Code Here


    name from getStatisticNames    name in Statistic[]
    NumConnAcquired          NumConnOpened
    NumConnReleased          NumConnClosed
    AverageConnWaitTime        AvgConnWaitTime
   */
    m.addMapping( "NumConnOpened", "NumConnAcquired"  );
    m.addMapping( "NumConnClosed""NumConnReleased"  );
    m.addMapping( "AvgConnWaitTime", "AverageConnWaitTime" );
  }
}
View Full Code Here

    NumConnAcquired          NumConnOpened
    NumConnReleased          NumConnClosed
    AverageConnWaitTime        AvgConnWaitTime
   */
    m.addMapping( "NumConnOpened", "NumConnAcquired"  );
    m.addMapping( "NumConnClosed""NumConnReleased"  );
    m.addMapping( "AvgConnWaitTime", "AverageConnWaitTime" );
  }
}
View Full Code Here

    NumConnReleased          NumConnClosed
    AverageConnWaitTime        AvgConnWaitTime
   */
    m.addMapping( "NumConnOpened", "NumConnAcquired"  );
    m.addMapping( "NumConnClosed""NumConnReleased"  );
    m.addMapping( "AvgConnWaitTime", "AverageConnWaitTime" );
  }
}
View Full Code Here

    final AttributeNameMapper  m  = getFieldNameMapper();
   
    assert( (STD_FIELDS.length % 2) == 0 );
    for( int i = 0; i < STD_FIELDS.length - 1; ++i )
    {
      m.addMapping( STD_FIELDS[ i ], STD_FIELDS[ i + 1 ] );
    }
  }
 
 
  protected final static String[]  STD_STATISTICS  = new String[]
View Full Code Here

   
    final String[]  mappings  = STD_STATISTICS;
   
    for( int i = 0; i < mappings.length -1; ++i )
    {
      m.addMapping( mappings[ i ], mappings[ i + 1 ] );
    }
  }
 
  /**
    Get an Attribute value by looking for a corresponding Statistic.
View Full Code Here

    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    // see JSR77.6.31; our old MBean uses the wrong field names (bug)
    m.addMapping( "JvmHeapSize", "HeapSize" );
    m.addMapping( "JvmUpTime", "UpTime" );
  }
}
View Full Code Here

   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    // see JSR77.6.31; our old MBean uses the wrong field names (bug)
    m.addMapping( "JvmHeapSize", "HeapSize" );
    m.addMapping( "JvmUpTime", "UpTime" );
  }
}
View Full Code Here

    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    // old MBean advertises one set of names, supplies another!
    m.addMapping( "NumberOfConnections", "TotalConnections" );
    m.addMapping( "NumberOfBusyConnections", "ConnectionsInUse" );
    m.addMapping( "NumberOfIdleConnections", "ConnectionsIdle" );
  }
}
View Full Code Here

   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    // old MBean advertises one set of names, supplies another!
    m.addMapping( "NumberOfConnections", "TotalConnections" );
    m.addMapping( "NumberOfBusyConnections", "ConnectionsInUse" );
    m.addMapping( "NumberOfIdleConnections", "ConnectionsIdle" );
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.