uk.ac.soton.itinnovation.grid.service.sla
Class ActiveService

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.sla.ActiveService

public class ActiveService
extends Object

This persistent class is used to track the number of 'active' activities at a service. This information is used to determine whether to monitor the service for resource usage. The information is persisted so that it will survive SLA service restart. TODO: will all future managed services be in the GRIA web app? This impacts use of endpoints.. relative or absolute.. how survive web admin page service reconfiguration AND work with external services.. GRIA web admin tools allow reconfiguration of the service provider base URL and therefore it's undesirable to store the whole URL in the database.


Constructor Summary
ActiveService()
           
ActiveService(String serviceEndpoint, int activityCount)
           
 
Method Summary
 void activityStarted()
           
 void activityStopped()
           
 int getActivityCount()
           
 String getServiceEndpoint()
           
 void setActivityCount(int activityCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveService

public ActiveService()

ActiveService

public ActiveService(String serviceEndpoint,
                     int activityCount)
Method Detail

getServiceEndpoint

public String getServiceEndpoint()

setActivityCount

public void setActivityCount(int activityCount)

getActivityCount

public int getActivityCount()

activityStarted

public void activityStarted()

activityStopped

public void activityStopped()


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.