Package com.sodius.oslc.server.trs.store
Interface Store
-
- All Known Subinterfaces:
ResourceEventStore
,TrsStore
- All Known Implementing Classes:
AbstractTrsStore
,FileTrsStore
public interface Store
A general store mechanism.- Since:
- 1.10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
corrupt()
Forces the corruption of this store.boolean
isCorrupted()
Determines whether this store is corrupted.
-
-
-
Method Detail
-
isCorrupted
boolean isCorrupted()
Determines whether this store is corrupted.- Returns:
true
if this store is corrupted;false
otherwise.
-
corrupt
void corrupt()
Forces the corruption of this store. This method may be called if something serious happened on the system and the store is therefore known to be unreliable.
-
-