BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.reporter.PeerStatusReporter Class Reference
Inheritance diagram for eu.baltrad.dex.reporter.PeerStatusReporter:

Public Member Functions

void afterPropertiesSet () throws Exception
 
String getName ()
 
Map< String, Map< Object, SystemStatus > > getMappedStatus (Map< String, Object > arg)
 
Set< SystemStatus > getStatus (Map< String, Object > values)
 
Set< String > getSupportedAttributes ()
 
void setUserManager (IUserManager manager)
 
void setNodeStatusManager (INodeStatusManager statusManager)
 

Protected Member Functions

boolean isWithinMinutes (Date testedDate, int minutes)
 
SystemStatus getPeerStatus (String nodeName, int minutesBackInTime)
 

Detailed Description

Author
Anders Henja

Member Function Documentation

◆ afterPropertiesSet()

void eu.baltrad.dex.reporter.PeerStatusReporter.afterPropertiesSet ( ) throws Exception
inline
See also
org.springframework.beans.factory.InitializingBean.afterPropertiesSet()

◆ getMappedStatus()

Map< String, Map< Object, SystemStatus > > eu.baltrad.dex.reporter.PeerStatusReporter.getMappedStatus ( Map< String, Object > arg)
inline
See also
eu.baltrad.beast.system.IMappableStatusReporter.getMappedStatus(java.util.Map)

◆ getName()

String eu.baltrad.dex.reporter.PeerStatusReporter.getName ( )
inline
See also
eu.baltrad.beast.system.ISystemStatusReporter.getName()

◆ getPeerStatus()

SystemStatus eu.baltrad.dex.reporter.PeerStatusReporter.getPeerStatus ( String nodeName,
int minutesBackInTime )
inlineprotected

Returns the status for the specified URL.

Parameters
urlthe url to the supervisor on the peer node
minutesBackInTimenumber of minutes back in time we want to check
Returns
the status

◆ getStatus()

Set< SystemStatus > eu.baltrad.dex.reporter.PeerStatusReporter.getStatus ( Map< String, Object > values)
inline
See also
eu.baltrad.beast.system.ISystemStatusReporter.getStatus(java.util.Map)

◆ getSupportedAttributes()

Set< String > eu.baltrad.dex.reporter.PeerStatusReporter.getSupportedAttributes ( )
inline
See also
eu.baltrad.beast.system.ISystemStatusReporter.getSupportedAttributes()

◆ isWithinMinutes()

boolean eu.baltrad.dex.reporter.PeerStatusReporter.isWithinMinutes ( Date testedDate,
int minutes )
inlineprotected

Tests if the specified date is within x minutes of now according to the calendar

Parameters
testedDate
minutes
Returns
true

◆ setUserManager()

void eu.baltrad.dex.reporter.PeerStatusReporter.setUserManager ( IUserManager manager)
inline
Parameters
managerthe user manager

The documentation for this class was generated from the following file: