Class NoContainerRuntime
java.lang.Object
com.ultikits.ultitools.ui.runtime.NoContainerRuntime
- All Implemented Interfaces:
ContainerRuntime
Placeholder until the editable-slot runtime is installed. No container can be created here.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattach(SlotContainer container, UiSession<?> session) sessionnow showscontainer.create(UiOwner owner, ContainerSpec spec, ContainerHost host) Creates a container for this module copy and its host.voiddetach(SlotContainer container, UiSession<?> session) sessionno longer showscontainer.engine()The engine that applies gestures to this runtime's containers.voidfinishUnload(UiOwner owner, long deadlineNanos) Unload step 6: await answers until the same deadline and end every container of this copy.voidprepareUnload(UiOwner owner, long deadlineNanos) Unload step 2: freeze new work for this module copy and retain the shared absolute System.nanoTime deadline.voidstartUnloadCommits(UiOwner owner) Unload step 4: start changed COMMIT writes for this copy, reusing any write already in flight.
-
Constructor Details
-
NoContainerRuntime
public NoContainerRuntime()
-
-
Method Details
-
create
Description copied from interface:ContainerRuntimeCreates a container for this module copy and its host. Server thread, after the service's own checks.- Specified by:
createin interfaceContainerRuntime
-
attach
Description copied from interface:ContainerRuntimesessionnow showscontainer. Idempotent for a session/container pair. Server thread.- Specified by:
attachin interfaceContainerRuntime
-
detach
Description copied from interface:ContainerRuntimesessionno longer showscontainer. Must tolerate an absent or partially failed attach. If the container's owner is unloading, end through the unload path using the deadline supplied toContainerRuntime.prepareUnload(UiOwner, long), never through endWhenUnviewed. Server thread.- Specified by:
detachin interfaceContainerRuntime
-
engine
Description copied from interface:ContainerRuntimeThe engine that applies gestures to this runtime's containers.- Specified by:
enginein interfaceContainerRuntime
-
prepareUnload
Description copied from interface:ContainerRuntimeUnload step 2: freeze new work for this module copy and retain the shared absolute System.nanoTime deadline. All later detach/wait operations use that deadline, without restarting a timeout. Unloading thread.- Specified by:
prepareUnloadin interfaceContainerRuntime
-
startUnloadCommits
Description copied from interface:ContainerRuntimeUnload step 4: start changed COMMIT writes for this copy, reusing any write already in flight. Unloading thread.- Specified by:
startUnloadCommitsin interfaceContainerRuntime
-
finishUnload
Description copied from interface:ContainerRuntimeUnload step 6: await answers until the same deadline and end every container of this copy. Unloading thread.- Specified by:
finishUnloadin interfaceContainerRuntime
-