org.qi4j.api.sideeffect

## Class SideEffectOf<T>

- java.lang.Object
- - org.qi4j.api.sideeffect.SideEffectOf<T>

- Direct Known Subclasses:
    DebugOnConsoleSideEffect, GenericSideEffect, LogOnConsoleSideEffect, TraceOnConsoleSideEffect

      public abstract class SideEffectOf<T>
      extends Object

  Base class for SideEffects. It introduces a typed "next" pointer that SideEffects can use to get the result of the original invocation.

  Generic SideEffects should subclass `GenericSideEffect` instead.

  SideEffects implementations must be thread-safe in their implementation, as multiple threads may share instances.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected T` | `result`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SideEffectOf()`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### result

          @SideEffectFor
          protected final T result

  - ### Constructor Detail

    - #### SideEffectOf

          public SideEffectOf()