Interface CIMEnumeration

All Superinterfaces:
Enumeration
All Known Implementing Classes:
CIMEnumerationImpl

public interface CIMEnumeration extends Enumeration
Provides the mechanisms to stream the response of CIMObjects, returned by the CIMOM.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close the enumeration by throwing away any remaing xml document without parsing it, while keeping the connection available for future requests.
    void
    close(boolean force)
    Close the enumeration by throwing away any remaing xml document without parsing it.
    void
    Fetch all the CIMObjects into memory.

    Methods inherited from interface Enumeration

    asIterator, hasMoreElements, nextElement
  • Method Details

    • close

      void close() throws IOException
      Close the enumeration by throwing away any remaing xml document without parsing it, while keeping the connection available for future requests.
      Throws:
      IOException
    • close

      void close(boolean force) throws IOException
      Close the enumeration by throwing away any remaing xml document without parsing it. If the force argument is true, then it forces to close the connection without receiving any of the remainding XML document from the CIMOM, otherwise reads the rest of the XML document without parsing it.
      Parameters:
      force -
      Throws:
      IOException
    • fetchAll

      void fetchAll() throws IOException
      Fetch all the CIMObjects into memory. Preventing object loss when the CIMOM to close the connection because it timeout.
      Throws:
      IOException