Tabnine Logo
ValueInstrument.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.excalibur.instrument.ValueInstrument
constructor

Best Java code snippets using org.apache.excalibur.instrument.ValueInstrument.<init> (Showing top 5 results out of 315)

origin: org.apache.excalibur.containerkit/excalibur-instrument-mgr-impl

/**
 * Creates a new DefaultInstrumentManagerImpl.
 */
public DefaultInstrumentManagerImpl()
{
  // Initialize the Instrumentable elements.
  m_totalMemoryInstrument = new ValueInstrument( "total-memory" );
  m_freeMemoryInstrument = new ValueInstrument( "free-memory" );
  m_memoryInstrument = new ValueInstrument( "memory" );
  m_activeThreadCountInstrument = new ValueInstrument( "active-thread-count" );
  m_registrationsInstrument = new CounterInstrument( "instrumentable-registrations" );
  m_instrumentablesInstrument = new ValueInstrument( "instrumentables" );
  m_instrumentsInstrument = new ValueInstrument( "instruments" );
  m_samplesInstrument = new ValueInstrument( "samples" );
  m_leasedSamplesInstrument = new ValueInstrument( "leased-samples" );
  m_leaseRequestsInstrument = new CounterInstrument( "lease-requests" );
  m_stateSavesInstrument = new CounterInstrument( "state-saves" );
  m_stateSaveTimeInstrument = new ValueInstrument( "state-save-time" );
}
origin: org.apache.excalibur.component/excalibur-component

/**
 * Create a new AbstractComponentManagerServlet.
 *
 * @param referenceName A name which does not include any spaces or periods
 *                      that will be used to name the logger category and
 *                      instrumentable which represents this servlet.
 */
public AbstractComponentManagerServlet( String referenceName )
{
  //System.out.println( "AbstractComponentManagerServlet( " + referenceName + " )" );
  m_referenceName = referenceName;
  // Set up Instrumentable like AbstractInstrumentable
  m_registered = false;
  m_instrumentList = new ArrayList();
  m_childList = new ArrayList();
  // Create the instruments
  setInstrumentableName( referenceName );
  addInstrument( m_instrumentRequests = new CounterInstrument( "requests" ) );
  addInstrument( m_instrumentTime = new ValueInstrument( "time" ) );
}
origin: org.apache.excalibur.component/excalibur-component

/**
 * Create a new AbstractServiceManagerServlet.
 *
 * @param referenceName A name which does not include any spaces or periods
 *                      that will be used to name the logger category and
 *                      instrumentable which represents this servlet.
 */
public AbstractServiceManagerServlet( String referenceName )
{
  //System.out.println( "AbstractServiceManagerServlet( " + referenceName + " )" );
  m_referenceName = referenceName;
  // Set up Instrumentable like AbstractInstrumentable
  m_registered = false;
  m_instrumentList = new ArrayList();
  m_childList = new ArrayList();
  // Create the instruments
  setInstrumentableName( referenceName );
  addInstrument( m_instrumentRequests = new CounterInstrument( "requests" ) );
  addInstrument( m_instrumentTime = new ValueInstrument( "time" ) );
}
origin: org.apache.excalibur.components/excalibur-pool-instrumented

m_sizeInstrument = new ValueInstrument( INSTRUMENT_SIZE_NAME );
m_readySizeInstrument = new ValueInstrument( INSTRUMENT_READY_SIZE_NAME );
m_getsInstrument = new CounterInstrument( INSTRUMENT_GETS_NAME );
m_putsInstrument = new CounterInstrument( INSTRUMENT_PUTS_NAME );
origin: org.apache.excalibur.component/excalibur-component

/**
 * Creates a new ComponentHandler.
 */
public ComponentHandler()
{
  // Initialize the Instrumentable elements.
  setInstrumentableName( ExcaliburComponentManager.INSTRUMENTABLE_NAME + ".unnamed handler" );
  addInstrument( m_referencesInstrument = new ValueInstrument( "references" ) );
  addInstrument( m_getsInstrument = new CounterInstrument( "gets" ) );
  addInstrument( m_putsInstrument = new CounterInstrument( "puts" ) );
}
org.apache.excalibur.instrumentValueInstrument<init>

Javadoc

Creates a new ValueInstrument.

Popular methods of ValueInstrument

  • setValue
    Sets the current value of the Instrument. This method is optimized to be extremely light weight when
  • isActive
  • getInstrumentProxy

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • getApplicationContext (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now