PageSize

works.iterative.claude.core.log.PageSize
object PageSize

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PageSize.type

Members list

Value members

Concrete methods

def validate(limit: Int): Either[ArchiveError, Int]

Accepts a page size only when it is positive and no larger than Max; otherwise rejects it with ArchiveError.InvalidPageSize so no read is attempted. This is the single choke point every page request passes through.

Accepts a page size only when it is positive and no larger than Max; otherwise rejects it with ArchiveError.InvalidPageSize so no read is attempted. This is the single choke point every page request passes through.

Attributes

Concrete fields

val Max: Int

The largest page a caller may request. A single page holds at most this many entries; a larger request is rejected rather than served, bounding the work a single read can force. This is part of the read contract.

The largest page a caller may request. A single page holds at most this many entries; a larger request is rejected rather than served, bounding the work a single read can force. This is part of the read contract.

Attributes