|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.paas.orchestrator.service.ConfiguredServiceImpl
public class ConfiguredServiceImpl
| Constructor Summary | |
|---|---|
ConfiguredServiceImpl(String serviceName,
ServiceType serviceType,
ServiceDescription serviceDescription,
Properties serviceProperties)
|
|
| Method Summary | |
|---|---|
Map<Service,List<ServiceLogRecord>> |
collectLogs(ServiceLogType type,
Level level,
Date since)
Collect the log records since the given time for a given level and type. |
Map<Service,List<ServiceLogRecord>> |
collectLogs(ServiceLogType type,
Level level,
long count)
Collect the most recent requested number of log records for a given level and type. |
Set<Service> |
getChildServices()
returns the list of Child Services for this Service eg: GlassFish service is represented by multiple instances of a cluster. |
ServiceLogType |
getDefaultLogType()
Get the default log type for the service. |
Set<ServiceLogType> |
getLogTypes()
Get the available log types for the service. |
String |
getName()
name of the service |
Properties |
getProperties()
placeholder for extra-properties. |
ServiceDescription |
getServiceDescription()
ServiceDescription pertaining to the service. |
Properties |
getServiceProperties()
service specific properties that could be used to get service related information. |
ServiceType |
getServiceType()
type of service |
void |
setProperties(Properties properties)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfiguredServiceImpl(String serviceName,
ServiceType serviceType,
ServiceDescription serviceDescription,
Properties serviceProperties)
| Method Detail |
|---|
public ServiceType getServiceType()
Service
getServiceType in interface Servicepublic ServiceDescription getServiceDescription()
Service
getServiceDescription in interface Servicepublic Properties getServiceProperties()
Service
getServiceProperties in interface Servicepublic String getName()
Service
getName in interface Servicepublic Set<Service> getChildServices()
Service
getChildServices in interface Servicepublic Properties getProperties()
Service
getProperties in interface Servicepublic void setProperties(Properties properties)
public Map<Service,List<ServiceLogRecord>> collectLogs(ServiceLogType type,
Level level,
Date since)
Service
collectLogs in interface Servicetype - collect logs only for this typelevel - collect logs only for this levelsince - collect logs since this time till the latest
public Map<Service,List<ServiceLogRecord>> collectLogs(ServiceLogType type,
Level level,
long count)
Service
collectLogs in interface Servicetype - collect logs only for this typelevel - collect logs only for this levelcount - collect most recent given count of log records.
public Set<ServiceLogType> getLogTypes()
Service
getLogTypes in interface Servicepublic ServiceLogType getDefaultLogType()
Service
getDefaultLogType in interface Service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||