Interface StreamingUpdate<T>

Type Parameters:
T - type of the request status object.
All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
energy.trolie.client.impl.request.AbstractStreamingUpdate, ForecastRatingProposalUpdate, RealTimeRatingProposalUpdate

public interface StreamingUpdate<T> extends AutoCloseable
Base type for streaming updates. These will have various methods for adding pieces, or "chunks" to the update. See specific implementation methods for details. All streaming updates however represent closeable resources, and have an explicit step to complete the payload that returns a status object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Complete the update

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • complete

      T complete()
      Complete the update
      Returns:
      returned status