Interface Resumable

All Known Implementing Classes:
ClientConnectionCache, Http2ConnectionCache, VThreadSystemMetersProvider

public interface Resumable
Classes implementing Resumable are able to receive notification before suspend and after resume. Each instance needs to be registered with ResumableSupport.get().register(this);.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked after restore.
    void
    Invoked by before suspend.
  • Method Details

    • suspend

      void suspend()
      Invoked by before suspend.
    • resume

      void resume()
      Invoked after restore.