Class CompatSnapshotStore
java.lang.Object
org.polyfrost.oneconfig.api.config.v1.CompatSnapshotStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteProfile(String profile) voidvoidflushOrThrow(String profile) Flushes a snapshot for a profile lifecycle operation, propagating any failure to the caller.booleanhasLoadFailure(String profile) voidvoidrenameProfile(String oldProfile, String newProfile)
-
Constructor Details
-
CompatSnapshotStore
public CompatSnapshotStore() -
CompatSnapshotStore
-
-
Method Details
-
load
-
getValue
-
hasLoadFailure
-
putValue
-
flush
-
flushOrThrow
Flushes a snapshot for a profile lifecycle operation, propagating any failure to the caller. Unlikeflush(String), a missing named profile directory is an error rather than a silently ignored delayed write.- Throws:
IOException
-
renameProfile
- Throws:
IOException
-
deleteProfile
-