|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Service
Generic representation of a Service which can be of types, managed or unmanaged.
| 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 |
| Method Detail |
|---|
ServiceType getServiceType()
ServiceDescription getServiceDescription()
Properties getServiceProperties()
String getName()
Set<Service> getChildServices()
Properties getProperties()
Map<Service,List<ServiceLogRecord>> collectLogs(ServiceLogType type,
Level level,
Date since)
type - collect logs only for this typelevel - collect logs only for this levelsince - collect logs since this time till the latest
Map<Service,List<ServiceLogRecord>> collectLogs(ServiceLogType type,
Level level,
long count)
type - collect logs only for this typelevel - collect logs only for this levelcount - collect most recent given count of log records.
Set<ServiceLogType> getLogTypes()
ServiceLogType getDefaultLogType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||