Uses of Class
org.metabit.platform.interfacing.jjournal.JJournalException
Packages that use JJournalException
-
Uses of JJournalException in org.metabit.platform.interfacing.jjournal
Method parameters in org.metabit.platform.interfacing.jjournal with type arguments of type JJournalExceptionModifier and TypeMethodDescriptionintJournal.foreachInTimerange(Instant startTime, Instant endTime, int limitCount, JournalConsumer<Journal, JJournalException> toBeCalledOnEachEntry) loop over journal entries within a given timeframe.Methods in org.metabit.platform.interfacing.jjournal that throw JJournalExceptionModifier and TypeMethodDescriptionvoidJournal.filteringAddConjunctionOperator()add an "AND" to the filter expression list.voidJournal.filteringAddDisjunctionOperator()add an "OR" to the filter expression list.voidJournal.filteringAddFilterExpressionExactMatch(String fieldName, byte[] valueToMatch) add a filter for a field name outside the predefined ones.voidJournal.filteringAddFilterExpressionExactMatch(String journalField, String valueToMatch) add a filter for a field to match a StringvoidJournal.filteringAddFilterExpressionExactMatch(JournalField journalField, byte[] valueToMatch) add a filter for a field to match a byte sequencevoidJournal.filteringAddFilterExpressionExactMatch(JournalField journalField, String valueToMatch) add a filter for a field to match a Stringprivate voidJournal.filteringAddFilterExpressionExactMatchUnchecked(String fieldName, byte[] valueToMatch) intJournal.foreachInTimerange(Instant startTime, Instant endTime, int limitCount, JournalConsumer<Journal, JJournalException> toBeCalledOnEachEntry) loop over journal entries within a given timeframe.Journal.getAvailableFields()list all available fields in current journal, insofar defined in the fields enum.Journal.getAvailableFieldsAsStrings()list all available fields in current journal, as Strings.longJournal.getBytesUsedByJournalFiles()as the function name says: getBytesUsedByJournalFilesJournal.getCursorRaw()get current cursor value as String.intJournal.getDataSize(String fieldName) how long is that field anyhow?Journal.getFirstAndLastInstant()get the timeframe the current journal is covering - its earliest, and its latest entry, specified in microseconds.Journal.getTimestampAsInstant()get current journal entry timestamp as Java8 instantlongJournal.getTimestampAsMicrosecondsLong()get raw microseconds value of the current journal entry.booleanJournal.hasPersistentFiles()check if persistent journal files have been found.booleanJournal.hasRuntimeFiles()check if runtime journal files have been found.booleanJournal.moveBackwardUntilEarliestTime(Instant time) moveBackwardUntilEarliestTime move to the firstbooleanJournal.moveBackwardUntilLatestTime(Instant time) move backward in the journal until a given time is matched.booleanJournal.moveForwardUntilTime(Instant time) move forward in the journal until a given time is matched.voidJournal.moveToEarliest()move to first valid entry.voidJournal.moveToLatest()move to last valid entry.booleanJournal.moveToNext()move to next entry.booleanJournal.moveToPrevious()move back one entry.voidJournal.readDataToBuffer(String fieldName, ByteBuffer buffer) read field data to buffer.byte[]Journal.readFieldAsByteArray(String fieldname) read a field as byte[].byte[]Journal.readFieldAsByteArray(JournalField field) read a field as byte[].Journal.readFieldAsString(String fieldname) read a field as StringJournal.readFieldAsString(JournalField field) read a field as StringJournal.readFieldAsStringRaw(JournalField field) read a field as Stringprivate StringJournal.readFieldAsStringReturnNullOnEmpty(String fieldname) voidread a complete set of fields.voidJournal.readFieldsAsStrings(Set<JournalField> fields, Map<JournalField, String> targetMap) read a complete set of fields, using the JournalField enum.voidJournal.readFieldToByteArray(String fieldname, ByteBuffer destinationBuffer) read a field into existing byte[].Journal.readMessageField()convenience function to read MESSAGE field of current journal entry.booleanJournal.seekCursor(String cursorValue) move journal access to a provided cursor; going to the first valid entry on that cursor.voidJournal.seekCursorRaw(String cursorValue) journal cursor seek function, wrapped for Java.longJournal.skip(long numEntriesToSkip) skip a number of entriesbooleanJournal.testCursorRaw(String cursorValue) test whether current position matches supplied cursor.static voidJournal.validateFieldName(String journalField) validate field names.Constructors in org.metabit.platform.interfacing.jjournal that throw JJournalExceptionModifierConstructorDescriptionconstructor, opening journal access within a namespace.constructor, opening journal access within a namespace.Deprecated.open a journal *directory*.open one or multiple journal files.open journal accesss with flags.constructor with varargs.