public class ClientStorageService.ClientStorageServiceStore extends Object
ClientStorageService.| Modifier and Type | Field and Description |
|---|---|
private Map<String,Map<String,MutableStorageRecord>> |
contextMap
The underlying map of data records.
|
private boolean |
dirty
Dirty bit.
|
private ClientStorageService.ClientStorageSource |
source
Data source.
|
| Constructor and Description |
|---|
ClientStorageService.ClientStorageServiceStore(String raw,
ClientStorageService.ClientStorageSource src)
Reconstitute stored data.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Map<String,Map<String,MutableStorageRecord>> |
getContextMap()
Get the map of contexts to manipulate during operations.
|
ClientStorageService.ClientStorageSource |
getSource()
Get the data source.
|
(package private) boolean |
isDirty()
Get the dirty bit for the current data.
|
(package private) ClientStorageServiceOperation |
save()
Serialize current state of stored data into a storage operation.
|
(package private) void |
setDirty(boolean flag)
Set the dirty bit for the current data.
|
@Nonnull @NonnullElements private final Map<String,Map<String,MutableStorageRecord>> contextMap
@Nonnull private final ClientStorageService.ClientStorageSource source
private boolean dirty
ClientStorageService.ClientStorageServiceStore(@Nullable@NotEmpty String raw, @Nonnull ClientStorageService.ClientStorageSource src)
The dirty bit is set based on the result. If successful, the bit is cleared, but if an error occurs, it will be set.
raw - serialized data to loadsrc - data source@Nonnull @NonnullElements @Live Map<String,Map<String,MutableStorageRecord>> getContextMap()
@Nonnull public ClientStorageService.ClientStorageSource getSource()
boolean isDirty()
void setDirty(boolean flag)
flag - dirty bit to set@Nullable ClientStorageServiceOperation save() throws IOException
IOException - if an error occursCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.