BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.status.manager.INodeStatusManager Interface Reference
Inheritance diagram for eu.baltrad.dex.status.manager.INodeStatusManager:
eu.baltrad.dex.status.manager.impl.NodeStatusManager

Public Member Functions

List< String > loadNodeNames () throws DataAccessException
 
Status load (int subscriptionId) throws DataAccessException
 
List< Statusload (String peerName, String subscriptionType) throws DataAccessException
 
int store (Status status) throws DataAccessException
 
int store (int statusId, int subscriptionId) throws DataAccessException
 
int update (Status status, int subscriptionId) throws DataAccessException
 
int delete (int subscriptionId) throws DataAccessException
 
Set< String > getRuntimeNodeNames ()
 
void setRuntimeNodeStatus (String nodeName, int httpStatus)
 
int getRuntimeNodeStatus (String nodeName)
 
Date getRuntimeNodeDate (String nodeName)
 

Detailed Description

Node status manager interface.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.0
Since
1.0

Member Function Documentation

◆ delete()

int eu.baltrad.dex.status.manager.INodeStatusManager.delete ( int subscriptionId) throws DataAccessException

◆ getRuntimeNodeDate()

Date eu.baltrad.dex.status.manager.INodeStatusManager.getRuntimeNodeDate ( String nodeName)
Parameters
nodeNamethe node name that is queried for it's last updated status
Returns
the date the last update for specified node occured
Exceptions
RuntimeExceptionif node hasn't stored any status

Implemented in eu.baltrad.dex.status.manager.impl.NodeStatusManager.

◆ getRuntimeNodeNames()

Set< String > eu.baltrad.dex.status.manager.INodeStatusManager.getRuntimeNodeNames ( )
Returns
names of nodes that has stored their status

Implemented in eu.baltrad.dex.status.manager.impl.NodeStatusManager.

◆ getRuntimeNodeStatus()

int eu.baltrad.dex.status.manager.INodeStatusManager.getRuntimeNodeStatus ( String nodeName)
Parameters
nodeNamethe node name that is queried for status
Returns
the status
Exceptions
RuntimeExceptionif node hasn't stored any status

Implemented in eu.baltrad.dex.status.manager.impl.NodeStatusManager.

◆ load() [1/2]

Status eu.baltrad.dex.status.manager.INodeStatusManager.load ( int subscriptionId) throws DataAccessException

◆ load() [2/2]

List< Status > eu.baltrad.dex.status.manager.INodeStatusManager.load ( String peerName,
String subscriptionType ) throws DataAccessException

◆ loadNodeNames()

List< String > eu.baltrad.dex.status.manager.INodeStatusManager.loadNodeNames ( ) throws DataAccessException

◆ setRuntimeNodeStatus()

void eu.baltrad.dex.status.manager.INodeStatusManager.setRuntimeNodeStatus ( String nodeName,
int httpStatus )
Parameters
nodeNamethe node name setting the runtime status
httpStatusthe http status
outgoingif outgoing or incomming communication

Implemented in eu.baltrad.dex.status.manager.impl.NodeStatusManager.

◆ store() [1/2]

int eu.baltrad.dex.status.manager.INodeStatusManager.store ( int statusId,
int subscriptionId ) throws DataAccessException

◆ store() [2/2]

int eu.baltrad.dex.status.manager.INodeStatusManager.store ( Status status) throws DataAccessException

◆ update()

int eu.baltrad.dex.status.manager.INodeStatusManager.update ( Status status,
int subscriptionId ) throws DataAccessException

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