Package jadex.tools.web.status
Interface IStatusService
-
- All Known Implementing Classes:
StatusAgent
public interface IStatusService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.util.Collection<PlatformData>>
getConnectedPlatforms()
Get the established connections.IFuture<java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>>>
getMemInfo()
Get all memory stats.IFuture<java.util.Collection<ServiceQuery<?>>>
getQueries(java.lang.String... scope)
Get registered queries of a given (set of) scope(s) or no scope for all queries.ISubscriptionIntermediateFuture<PlatformData>
subscribeToConnections()
Get events about established connections.ISubscriptionIntermediateFuture<ServiceEvent<IServiceIdentifier>>
subscribeToServices()
Get the managed services, if this platform is a super peer (i.e.
-
-
-
Method Detail
-
getConnectedPlatforms
IFuture<java.util.Collection<PlatformData>> getConnectedPlatforms()
Get the established connections.- Returns:
- A list of connections.
-
subscribeToConnections
ISubscriptionIntermediateFuture<PlatformData> subscribeToConnections()
Get events about established connections.- Returns:
- Events for connections.
-
getQueries
IFuture<java.util.Collection<ServiceQuery<?>>> getQueries(java.lang.String... scope)
Get registered queries of a given (set of) scope(s) or no scope for all queries.- Returns:
- A list of queries.
-
subscribeToServices
ISubscriptionIntermediateFuture<ServiceEvent<IServiceIdentifier>> subscribeToServices()
Get the managed services, if this platform is a super peer (i.e. has an ISuperpeerService).- Returns:
- Service events for a self-updating list of services.
-
getMemInfo
IFuture<java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>>> getMemInfo()
Get all memory stats. cf IMemstatService
-
-