net.anotheria.moskitodemo.simpleservice
Class SimpleServiceImpl
java.lang.Object
net.anotheria.moskitodemo.simpleservice.SimpleServiceImpl
- All Implemented Interfaces:
- IStatsProducer, ISimpleService
public class SimpleServiceImpl
- extends Object
- implements ISimpleService, IStatsProducer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getStats
public List<IStats> getStats()
- Specified by:
getStats in interface IStatsProducer
getProducerId
public String getProducerId()
- Specified by:
getProducerId in interface IStatsProducer
printStats
public void printStats()
- Specified by:
printStats in interface ISimpleService
printStats
public void printStats(String interval)
- Specified by:
printStats in interface ISimpleService
randomWait
public void randomWait()
throws Exception
- Specified by:
randomWait in interface ISimpleService
- Throws:
Exception
waitForSoLongInMillis
public void waitForSoLongInMillis(long parameter)
throws Exception
- Specified by:
waitForSoLongInMillis in interface ISimpleService
- Throws:
Exception
produceExceptionIfParameterIsEven
public void produceExceptionIfParameterIsEven(int parameter)
throws Exception
- Specified by:
produceExceptionIfParameterIsEven in interface ISimpleService
- Throws:
Exception
getCategory
public String getCategory()
- Specified by:
getCategory in interface IStatsProducer
getSubsystem
public String getSubsystem()
- Specified by:
getSubsystem in interface IStatsProducer
Copyright © 2010-2012 anotheria.net. All Rights Reserved.