- java.lang.Object
-
- com.machinezoo.hookless.ReactiveScope
-
-
Constructor Summary
Constructors Constructor Description ReactiveScope()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
block()
boolean
blocked()
static ReactiveScope
current()
CloseableScope
enter()
<T> T
freeze(Object key, Supplier<T> supplier)
ReactiveFreezes
freezes()
void
freezes(ReactiveFreezes freezes)
static CloseableScope
ignore()
static CloseableScope
nonblocking()
<T> T
pin(Object key, Supplier<T> supplier)
ReactivePins
pins()
void
pins(ReactivePins pins)
String
toString()
Collection<ReactiveVariable.Version>
versions()
void
watch(ReactiveVariable<?> variable)
void
watch(ReactiveVariable<?> variable, long version)
-
-
-
Method Detail
-
current
public static ReactiveScope current()
-
enter
public CloseableScope enter()
-
ignore
public static CloseableScope ignore()
-
versions
public Collection<ReactiveVariable.Version> versions()
-
watch
public void watch(ReactiveVariable<?> variable)
-
watch
public void watch(ReactiveVariable<?> variable, long version)
-
blocked
public boolean blocked()
-
block
public void block()
-
nonblocking
public static CloseableScope nonblocking()
-
freezes
public ReactiveFreezes freezes()
-
freezes
public void freezes(ReactiveFreezes freezes)
-
pins
public ReactivePins pins()
-
pins
public void pins(ReactivePins pins)
-
-