Interface ErrorRegistryView

All Known Subinterfaces:
ErrorRegistry

public interface ErrorRegistryView
A scoped view over error entries in an ErrorRegistry, supporting browsing and clearing.
  • Method Summary

    Modifier and Type
    Method
    Description
    Browse all error entries, sorted by most recent first
    browse(int limit)
    Browse error entries with a limit, sorted by most recent first
    void
    Clear all error entries in this view
    int
    The number of error entries in this view
  • Method Details

    • size

      int size()
      The number of error entries in this view
    • browse

      Browse all error entries, sorted by most recent first
    • browse

      Collection<ErrorRegistryEntry> browse(int limit)
      Browse error entries with a limit, sorted by most recent first
      Parameters:
      limit - maximum number of entries to return
    • clear

      void clear()
      Clear all error entries in this view