Class StreamTrimOptions.MinId

    • Constructor Detail

      • MinId

        public MinId​(@NonNull
                     @NonNull java.lang.String threshold)
        Create a trim option to trim stream based on stream ID.
        Parameters:
        threshold - Comparison id.
      • MinId

        public MinId​(@NonNull
                     @NonNull GlideString threshold)
        Create a trim option to trim stream based on stream ID.
        Parameters:
        threshold - Comparison id.
      • MinId

        public MinId​(boolean exact,
                     @NonNull
                     @NonNull java.lang.String threshold)
        Create a trim option to trim stream based on stream ID.
        Parameters:
        exact - Whether to match exactly on the threshold.
        threshold - Comparison id.
      • MinId

        public MinId​(boolean exact,
                     @NonNull
                     @NonNull GlideString threshold)
        Create a trim option to trim stream based on stream ID.
        Parameters:
        exact - Whether to match exactly on the threshold.
        threshold - Comparison id.
      • MinId

        public MinId​(@NonNull
                     @NonNull java.lang.String threshold,
                     long limit)
        Create a trim option to trim stream based on stream ID.
        Parameters:
        threshold - Comparison id.
        limit - Max number of stream entries to be trimmed for non-exact match.
      • MinId

        public MinId​(@NonNull
                     @NonNull GlideString threshold,
                     long limit)
        Create a trim option to trim stream based on stream ID.
        Parameters:
        threshold - Comparison id.
        limit - Max number of stream entries to be trimmed for non-exact match.