Package net.thevpc.naru.api.agent
Interface NaruSessionStoreManager
public interface NaruSessionStoreManager
The on-disk catalog of saved sessions for one project.
This is a store, not a registry of live sessions. Every entry is a directory that
already exists on disk under .naru/sessions/; listing it says nothing about what
is running right now. For the live set, ask NaruAgent.sessions().
The two are kept apart on purpose. A server hosting many concurrent sessions needs a live view that is cheap to read and changes as sessions start and stop; the saved catalog is disk state that outlives the process. Folding them together would force one of the two to lie.
-
Method Summary
-
Method Details
-
list
List<NaruResourceInfo> list() -
purge
int purge() -
findByUuidOrName
-
delete
-