A bean that keeps state in the memory of its isolate: sessions, a cache, counters.
With a pool of isolates each isolate has its own copy of such a bean, and a request may reach any of them: a session made by one is unknown to the next. The pool names every bean that implements this in one warning when it starts, so the choice is made knowingly: keep the state where all isolates see it (a database, a shared store), or accept one copy per isolate (a cache often can).
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isolateLocalState → String
-
What is kept, for the warning:
sessions,the cache.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited