Interface CIMEnumeration

  • All Superinterfaces:
    java.util.Enumeration
    All Known Implementing Classes:
    CIMEnumerationImpl

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      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 fetchAll()
      Fetch all the CIMObjects into memory.
      • Methods inherited from interface java.util.Enumeration

        asIterator, hasMoreElements, nextElement
    • Method Detail

      • close

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

        void close​(boolean force)
            throws java.io.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:
        java.io.IOException
      • fetchAll

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