edu.nrao.sss.model.resource.evla
Class BlbpPool

java.lang.Object
  extended by edu.nrao.sss.model.resource.evla.BlbpPool

public class BlbpPool
extends Object

The complete collection of baseline board pairs for the WIDAR correlator.

Version Info:

$Revision: 2298 $
$Date: 2009-05-13 16:26:11 -0600 (Wed, 13 May 2009) $
$Author: dharland $ (last person to modify)

Since:
2009-02-20
Author:
David M. Harland

Method Summary
 void clean()
          Compares the owners of the BLBPs to the set of valid potential owners and frees any fraudulently owned pairs.
 int getBlbpsOwned()
          Returns the number of baseline board pairs owned by subbands.
 int getBlbpsOwnedBy(WidarCorrelationProductGroup owner)
          Returns the number of baseline board pairs owned by owner.
 int getBlbpsUnowned()
          Returns the number of baseline boards pairs currently unowned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clean

public void clean()
Compares the owners of the BLBPs to the set of valid potential owners and frees any fraudulently owned pairs. The set of valid owners comes from the owner of this pool. This method is useful when it appears that dead owners of BLBPs did not get a chance to release their BLBPs.


getBlbpsOwnedBy

public int getBlbpsOwnedBy(WidarCorrelationProductGroup owner)
Returns the number of baseline board pairs owned by owner.

Parameters:
owner - a potential owner of baseline board pairs.
Returns:
the number of baseline board pairs owned by owner.

getBlbpsOwned

public int getBlbpsOwned()
Returns the number of baseline board pairs owned by subbands.

Returns:
the number of BLBPs owned by subbands

getBlbpsUnowned

public int getBlbpsUnowned()
Returns the number of baseline boards pairs currently unowned.

Returns:
the free number of BLBPs.


Copyright © 2009. All Rights Reserved.