Interface Broker

All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidGovernator, OsidObject

public interface Broker extends OsidGovernator

A Broker manages queues and pools.

  • Method Details

    • getBrokerageIds

      IdList getBrokerageIds()
      Gets the Ids of the brokerages.
      Returns:
      the brokerage Ids
      Compliance:
      mandatory - This method must be implemented.
    • getBrokerages

      ResourceList getBrokerages() throws OperationFailedException
      Gets the brokerages.
      Returns:
      the brokerages
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getBrokerRecord

      BrokerRecord getBrokerRecord(Type brokerRecordType) throws OperationFailedException
      Gets the broker record corresponding to the given Broker record Type .This method is used to retrieve an object implementing the requested record. The brokerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(brokerRecordType) is true .
      Parameters:
      brokerRecordType - the type of broker record to retrieve
      Returns:
      the broker record
      Throws:
      NullArgumentException - brokerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(brokerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.