org.gcube.common.core.instrumentation
Class RI

java.lang.Object
  extended by org.gcube.common.core.instrumentation.RI
All Implemented Interfaces:
RIMBean

public class RI
extends Object
implements RIMBean


Constructor Summary
RI(GCUBEServiceContext ctxt)
           
 
Method Summary
 void addCall()
           
 void addFailedCall()
           
 String addScope(String s)
           
 float getAverageResponseTime()
           
 long getCallCount()
           
 long getFailedCalls()
           
 float getLastResponseTime()
           
 String getScope()
           
 String getServiceClass()
           
 String getServiceName()
           
 String getStatus()
           
 String removeScope(String s)
           
 void setLastResponseTime(float time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RI

public RI(GCUBEServiceContext ctxt)
Method Detail

getServiceClass

public String getServiceClass()
Specified by:
getServiceClass in interface RIMBean

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface RIMBean

getStatus

public String getStatus()
Specified by:
getStatus in interface RIMBean

getScope

public String getScope()
Specified by:
getScope in interface RIMBean

addScope

public String addScope(String s)
                throws Exception
Specified by:
addScope in interface RIMBean
Throws:
Exception

removeScope

public String removeScope(String s)
                   throws Exception
Specified by:
removeScope in interface RIMBean
Throws:
Exception

getCallCount

public long getCallCount()
Specified by:
getCallCount in interface RIMBean

addCall

public void addCall()

getAverageResponseTime

public float getAverageResponseTime()
Specified by:
getAverageResponseTime in interface RIMBean

getLastResponseTime

public float getLastResponseTime()
Specified by:
getLastResponseTime in interface RIMBean

setLastResponseTime

public void setLastResponseTime(float time)

getFailedCalls

public long getFailedCalls()
Specified by:
getFailedCalls in interface RIMBean

addFailedCall

public void addFailedCall()


Copyright © 2013. All Rights Reserved.