@NotThreadSafe public static final class PathProperties.State extends java.lang.Object implements Journaled
| Constructor and Description |
|---|
State() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAndJournal(java.util.function.Supplier<JournalContext> ctx,
Meta.PathPropertiesEntry entry) |
void |
applyAndJournal(java.util.function.Supplier<JournalContext> ctx,
Meta.RemovePathPropertiesEntry entry) |
CheckpointName |
getCheckpointName() |
java.util.Iterator<Journal.JournalEntry> |
getJournalEntryIterator() |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getProperties() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties(java.lang.String path) |
boolean |
processJournalEntry(Journal.JournalEntry entry) |
void |
resetState() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAndJournal, restoreFromCheckpoint, writeToCheckpointpublic java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getProperties()
public java.util.Map<java.lang.String,java.lang.String> getProperties(java.lang.String path)
path - the pathpublic boolean processJournalEntry(Journal.JournalEntry entry)
processJournalEntry in interface Journaledpublic void applyAndJournal(java.util.function.Supplier<JournalContext> ctx, Meta.PathPropertiesEntry entry)
ctx - the journal contextentry - the path properties entrypublic void applyAndJournal(java.util.function.Supplier<JournalContext> ctx, Meta.RemovePathPropertiesEntry entry)
ctx - the journal contextentry - the remove path properties entrypublic void resetState()
resetState in interface Journaledpublic CheckpointName getCheckpointName()
getCheckpointName in interface Checkpointedpublic java.util.Iterator<Journal.JournalEntry> getJournalEntryIterator()
getJournalEntryIterator in interface JournalEntryIterableCopyright © 2019. All Rights Reserved.