gov.bnl.star.offline.scheduler.monitor
Interface HostInfoFinder


public interface HostInfoFinder

Author:
Gabriele Carcassi, Efstratios Efstathiadis

Method Summary
 java.util.Collection getHostInfo()
          Returns the host information for all the hosts available.
 java.util.Collection getHostInfo(java.util.Collection hostNames)
          Returns the host information for the hostnames provided.
 HostInfo getHostInfo(java.lang.String hostName)
          Returns the host information for the given hostname
 

Method Detail

getHostInfo

HostInfo getHostInfo(java.lang.String hostName)
Returns the host information for the given hostname

Parameters:
hostName - the full hostname (i.e. rcas6023.rcf.bnl.gov)
Returns:
the information about the host or null if no information is available

getHostInfo

java.util.Collection getHostInfo()
Returns the host information for all the hosts available. If no hosts information is available, it will return an empty collection.

Returns:
a collection of HostInfo objects

getHostInfo

java.util.Collection getHostInfo(java.util.Collection hostNames)
Returns the host information for the hostnames provided. If no host information is found, an empty collection is returned.

Parameters:
hostNames - a collection of Strings with the full host name (i.e. rcas6023.rcf.bnl.gov)
Returns:
a collection of HostInfo objects.


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.