com.ibm.ffdc.config

Interface IncidentStream



  • public interface IncidentStream
    Ffdc incidents may capture data elements to be reported. These are printed on the incident stream provided by the ffdc provider.
    See Also:
    Formatter, Formattable, DataCollector
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface and Description
      static interface  IncidentStream.Writer<T extends java.io.OutputStream>
      Custom formatters or formattable implementations can use this interface to access the output stream used by the incident stream.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void write(IncidentStream.Writer<java.io.OutputStream> writer)
      Write on this stream the content provided by the writer
      void write(java.lang.String label, java.lang.Object object)
      Write an object with a label on the incident stream.
      void write(java.lang.String label, java.lang.Object value, int depth)
      Write an object with a label on the incident stream.
    • Method Detail

      • write

        void write(java.lang.String label,
                 java.lang.Object object)
        Write an object with a label on the incident stream. If the object is a primitive, a boxed primitive the value of it will be printed

        If the object is a Class or a Logger instance the name of it will be printed.

        If a formatter is registered for the object type, or the object is formattable see in the SDD the rules how the value is printed.

        In all other cases the object is introspected.

        Note that if an object has already been written, all subsequent writing result i printing the label followed by the classname and hash code.

        Parameters:
        label -
        object -
      • write

        void write(java.lang.String label,
                 java.lang.Object value,
                 int depth)
        Write an object with a label on the incident stream. The object will be introspected according to the specified depth.
        Parameters:
        label -
        value -
        depth -
        See Also:
        write(String label, Object object)
      • write

        void write(IncidentStream.Writer<java.io.OutputStream> writer)
        Write on this stream the content provided by the writer
        Parameters:
        writer -
IBM WebSphere Application ServerTM
Release 8.5