This project has retired. For details please refer to its Attic page.
LensRequestListener (Lens 2.0.1-beta-incubating API)

org.apache.lens.server
Class LensRequestListener

java.lang.Object
  extended by org.apache.lens.server.LensRequestListener
All Implemented Interfaces:
org.glassfish.jersey.server.monitoring.RequestEventListener

public class LensRequestListener
extends Object
implements org.glassfish.jersey.server.monitoring.RequestEventListener

Event listener used for metrics in errors.

See Also:
LensRequestEvent

Field Summary
static String EXCEPTION_COUNT
          The Constant EXCEPTION_COUNT.
static String HTTP_CLIENT_ERROR
          The Constant HTTP_CLIENT_ERROR.
static String HTTP_ERROR
          The Constant HTTP_ERROR.
static String HTTP_REQUESTS_FINISHED
          The Constant HTTP_REQUESTS_FINISHED.
static String HTTP_REQUESTS_STARTED
          The Constant HTTP_REQUESTS_STARTED.
static String HTTP_SERVER_ERROR
          The Constant HTTP_SERVER_ERROR.
static String HTTP_UNKOWN_ERROR
          The Constant HTTP_UNKOWN_ERROR.
 
Constructor Summary
LensRequestListener()
           
 
Method Summary
 void onEvent(org.glassfish.jersey.server.monitoring.RequestEvent event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_REQUESTS_STARTED

public static final String HTTP_REQUESTS_STARTED
The Constant HTTP_REQUESTS_STARTED.

See Also:
Constant Field Values

HTTP_REQUESTS_FINISHED

public static final String HTTP_REQUESTS_FINISHED
The Constant HTTP_REQUESTS_FINISHED.

See Also:
Constant Field Values

HTTP_ERROR

public static final String HTTP_ERROR
The Constant HTTP_ERROR.

See Also:
Constant Field Values

HTTP_SERVER_ERROR

public static final String HTTP_SERVER_ERROR
The Constant HTTP_SERVER_ERROR.

See Also:
Constant Field Values

HTTP_CLIENT_ERROR

public static final String HTTP_CLIENT_ERROR
The Constant HTTP_CLIENT_ERROR.

See Also:
Constant Field Values

HTTP_UNKOWN_ERROR

public static final String HTTP_UNKOWN_ERROR
The Constant HTTP_UNKOWN_ERROR.

See Also:
Constant Field Values

EXCEPTION_COUNT

public static final String EXCEPTION_COUNT
The Constant EXCEPTION_COUNT.

See Also:
Constant Field Values
Constructor Detail

LensRequestListener

public LensRequestListener()
Method Detail

onEvent

public void onEvent(org.glassfish.jersey.server.monitoring.RequestEvent event)
Specified by:
onEvent in interface org.glassfish.jersey.server.monitoring.RequestEventListener


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.