Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

add(String) - Method in class org.apache.jackrabbit.oak.commons.sort.StringSort
 
append(List<File>, File, boolean) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Appends the contents of the list of files to the given file and deletes the files if the delete flag is enabled.
append(JsopWriter) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append all entries of the given buffer.
append(JsopWriter) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
append(JsopWriter) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append all entries of the given writer.
array() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append '['.
array() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
array() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append '['.
available() - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 

B

BATCH_SIZE - Static variable in class org.apache.jackrabbit.oak.commons.sort.StringSort
 
BurnOnCloseFileIterator(LineIterator, Function<String, T>) - Constructor for class org.apache.jackrabbit.oak.commons.FileIOUtils.BurnOnCloseFileIterator
 
BurnOnCloseFileIterator(LineIterator, File, Function<String, T>) - Constructor for class org.apache.jackrabbit.oak.commons.FileIOUtils.BurnOnCloseFileIterator
 

C

Cache<K,V extends Cache.Value> - Class in org.apache.jackrabbit.oak.commons.cache
 
Cache.Backend<K,V> - Interface in org.apache.jackrabbit.oak.commons.cache
A cache backend that can load objects from persistent storage.
Cache.Value - Interface in org.apache.jackrabbit.oak.commons.cache
A cacheable object.
calculateExpirationTime(long) - Static method in class org.apache.jackrabbit.oak.commons.LongUtils
Calculate an expiration time based on new Date().getTime() and the specified expiration in number of milliseconds.
clear() - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
close() - Method in class org.apache.jackrabbit.oak.commons.concurrent.ExecutorCloser
 
close() - Method in class org.apache.jackrabbit.oak.commons.FileIOUtils.BurnOnCloseFileIterator
 
close() - Method in class org.apache.jackrabbit.oak.commons.FileIOUtils.FileLineDifferenceIterator
 
close() - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
close() - Method in class org.apache.jackrabbit.oak.commons.sort.StringSort
 
closeQuietly(Closeable) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Unconditionally close a Closeable.
closeQuietly(Socket) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Unconditionally close a Socket.
COMMENT - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of a comment, if supported by the reader.
compare(String, String) - Method in class org.apache.jackrabbit.oak.commons.FileIOUtils.TransformingComparator
 
completed() - Static method in class org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask
 
computeNext() - Method in class org.apache.jackrabbit.oak.commons.FileIOUtils.BurnOnCloseFileIterator
 
computeNext() - Method in class org.apache.jackrabbit.oak.commons.FileIOUtils.FileLineDifferenceIterator
 
concat(String, String...) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Concatenate path elements.
concat(String, String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Concatenate path elements.
concatRelativePaths(String...) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Relative path concatenation.
convertBytesToHex(byte[]) - Static method in class org.apache.jackrabbit.oak.commons.StringUtils
Convert a byte array to a hex encoded string.
convertHexToBytes(String) - Static method in class org.apache.jackrabbit.oak.commons.StringUtils
Convert a hex encoded string to a byte array.
copy(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Copies an input stream to a file.
copy(InputStream, OutputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Copy bytes from an InputStream to an OutputStream.
copyInputStreamToFile(InputStream, File) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Copy the input stream to the given file.
create(JsopTokenizer) - Static method in class org.apache.jackrabbit.oak.commons.json.JsonObject
Reads a JSON object from the given tokenizer.

D

DebugTimer - Class in org.apache.jackrabbit.oak.commons
DebugTimer...
DebugTimer() - Constructor for class org.apache.jackrabbit.oak.commons.DebugTimer
 
decode(String) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Decode a Json string.
decodeQuoted(String) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Decode a quoted Json string.
defaultcomparator - Static variable in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
denotesCurrent(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
 
denotesParent(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
 
denotesRoot(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Whether the path is the root path ("/").
depth - Variable in class org.apache.jackrabbit.oak.commons.Profiler
 
displayUsage() - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
done() - Method in class org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask
 
dropIndexFromName(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Returns the given name without the possible SNS index suffix.

E

elements(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Returns an Iterable for the path elements.
encode(String) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Convert a string to a quoted Json literal using the correct escape sequences.
encodedValue(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append an already encoded value.
encodedValue(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
encodedValue(String) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append an already encoded value.
END - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type that signals the end of the stream.
end(long, long, String, Object) - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
See PerfLogger.end(long, long, long, String, Object...) Note that this method exists for performance optimization only (compared to the other end() method with a vararg.
end(long, long, String, Object, Object) - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
See PerfLogger.end(long, long, long, String, Object...) Note that this method exists for performance optimization only (compared to the other end() method with a vararg.
end(long, long, String, Object...) - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
end(long, long, long, String, Object) - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
See PerfLogger.end(long, long, long, String, Object...) Note that this method exists for performance optimization only (compared to the other end() method with a vararg.
end(long, long, long, String, Object, Object) - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
See PerfLogger.end(long, long, long, String, Object...) Note that this method exists for performance optimization only (compared to the other end() method with a vararg.
end(long, long, long, String, Object...) - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
Returns quickly if start is negative (which is the case according to log level at the time of PerfLogger.start() or PerfLogger.startForInfoLog()).
endArray() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append ']'.
endArray() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
endArray() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append ']'.
endObject() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append '}'.
endObject() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
endObject() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append '}'.
ERROR - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of a parse error.
escape(String, StringBuilder) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Escape a string into the target buffer.
escapeForQuery(String) - Static method in class org.apache.jackrabbit.oak.commons.QueryUtils
 
escapeLineBreak(String) - Static method in class org.apache.jackrabbit.oak.commons.sort.EscapeUtils
 
escapeNodeName(String) - Static method in class org.apache.jackrabbit.oak.commons.QueryUtils
Escape string for matching in jcr escaped node names
EscapeUtils - Class in org.apache.jackrabbit.oak.commons.sort
Utility class to escape '\n', '\r', '\' char while being written to file and unescape then upon getting read from file.
EscapeUtils() - Constructor for class org.apache.jackrabbit.oak.commons.sort.EscapeUtils
 
estimateBestSizeOfBlocks(File, int, long) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
estimatedSizeOf(String) - Static method in class org.apache.jackrabbit.oak.commons.sort.StringSizeEstimator
Estimates the size of a String object in bytes.
estimateMemoryUsage(String) - Static method in class org.apache.jackrabbit.oak.commons.StringUtils
Estimates the memory usage of the given string.
ExecutorCloser - Class in org.apache.jackrabbit.oak.commons.concurrent
Utility class to properly close any ExecutorService.
ExecutorCloser(ExecutorService) - Constructor for class org.apache.jackrabbit.oak.commons.concurrent.ExecutorCloser
will attempt a graceful close in 5 seconds
ExecutorCloser(ExecutorService, int, TimeUnit) - Constructor for class org.apache.jackrabbit.oak.commons.concurrent.ExecutorCloser
will attempt a graceful close by the provided time.
ExternalSort - Class in org.apache.jackrabbit.oak.commons.sort
Source copied from a publicly available library.
ExternalSort() - Constructor for class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 

F

FALSE - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of the value "false".
FileIOUtils - Class in org.apache.jackrabbit.oak.commons
Simple File utils
FileIOUtils.BurnOnCloseFileIterator<T> - Class in org.apache.jackrabbit.oak.commons
Implements a Closeable wrapper over a LineIterator.
FileIOUtils.FileLineDifferenceIterator - Class in org.apache.jackrabbit.oak.commons
FileLineDifferenceIterator class which iterates over the difference of 2 files line by line.
FileIOUtils.TransformingComparator - Class in org.apache.jackrabbit.oak.commons
Decorates the given comparator and applies the function before delegating to the decorated comparator.
FileLineDifferenceIterator(LineIterator, LineIterator) - Constructor for class org.apache.jackrabbit.oak.commons.FileIOUtils.FileLineDifferenceIterator
 
FileLineDifferenceIterator(File, File, Function<String, String>) - Constructor for class org.apache.jackrabbit.oak.commons.FileIOUtils.FileLineDifferenceIterator
 
FileLineDifferenceIterator(LineIterator, LineIterator, Function<String, String>) - Constructor for class org.apache.jackrabbit.oak.commons.FileIOUtils.FileLineDifferenceIterator
 
forLogging() - Static method in class org.apache.jackrabbit.oak.commons.TimeDurationFormatter
Default formatter suitable for logging (ASCII-only)
format(long, TimeUnit) - Method in class org.apache.jackrabbit.oak.commons.TimeDurationFormatter
Format the specified duration

G

generateUUID() - Static method in class org.apache.jackrabbit.oak.commons.UUIDUtils
 
generateUUID(String) - Static method in class org.apache.jackrabbit.oak.commons.UUIDUtils
 
get(K) - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
getAncestorPath(String, int) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Get the nth ancestor of a path.
getChildren() - Method in class org.apache.jackrabbit.oak.commons.json.JsonObject
 
getDepth(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Calculate the number of elements in the path.
getEscapedToken() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Get the last encoded (raw) string, including escape sequences.
getIds() - Method in class org.apache.jackrabbit.oak.commons.sort.StringSort
 
getInstrumentation() - Static method in class org.apache.jackrabbit.oak.commons.Profiler
Get the instrumentation object if started as an agent.
getLastPos() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
getMemory() - Method in interface org.apache.jackrabbit.oak.commons.cache.Cache.Value
Get the memory required in bytes.
getMemoryMax() - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
getMemoryUsed() - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
getName(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Get the last element of the (absolute or relative) path.
getNextSlash(String, int) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Get the index of the next slash.
getParentPath(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Get the parent of a path.
getPos() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
getProperties() - Method in class org.apache.jackrabbit.oak.commons.json.JsonObject
 
getSize() - Method in class org.apache.jackrabbit.oak.commons.sort.StringSort
 
getString() - Method in class org.apache.jackrabbit.oak.commons.DebugTimer
 
getToken() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Get the last token value if the the token type was STRING or NUMBER.
getToken() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
getToken() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Get the last token value if the the token type was STRING or NUMBER.
getTokenType() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Get the token type of the last token.
getTokenType() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
getTokenType() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Get the token type of the last token.
getTop(int) - Method in class org.apache.jackrabbit.oak.commons.Profiler
Get the top stack traces.
getVersion(String, Class) - Static method in class org.apache.jackrabbit.oak.commons.OakVersion
Returns the version of an Oak module.

H

humanReadableByteCount(long) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Returns a human-readable version of the file size, where the input represents a specific number of bytes.

I

IDENTIFIER - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of an identifier (an unquoted string), if supported by the reader.
interval - Variable in class org.apache.jackrabbit.oak.commons.Profiler
 
IOUtils - Class in org.apache.jackrabbit.oak.commons
Input/output utility methods.
isAbsolute(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Whether the path is absolute (starts with a slash) or not.
isAncestor(String, String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Check if a path is a (direct or indirect) ancestor of another path.
isDebugEnabled() - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
Whether or not the delegate has log level DEBUG configured
isEmpty() - Method in class org.apache.jackrabbit.oak.commons.sort.StringSort
 
isInfoEnabled() - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
Whether or not the delegate has log level INFO configured
isTraceEnabled() - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
Whether or not the delegate has log level TRACE configured
isValid(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Check if the path is valid.
isValidUUID(String) - Static method in class org.apache.jackrabbit.oak.commons.UUIDUtils
 
iterator() - Method in class org.apache.jackrabbit.oak.commons.sort.StringSort
 

J

JsonObject - Class in org.apache.jackrabbit.oak.commons.json
Simple JSON Object representation
JsonObject() - Constructor for class org.apache.jackrabbit.oak.commons.json.JsonObject
 
JsopBuilder - Class in org.apache.jackrabbit.oak.commons.json
A builder for Json and Jsop strings.
JsopBuilder() - Constructor for class org.apache.jackrabbit.oak.commons.json.JsopBuilder
 
JsopReader - Interface in org.apache.jackrabbit.oak.commons.json
A reader for Json and Jsop strings.
JsopStream - Class in org.apache.jackrabbit.oak.commons.json
A fast Jsop writer / reader.
JsopStream() - Constructor for class org.apache.jackrabbit.oak.commons.json.JsopStream
 
JsopTokenizer - Class in org.apache.jackrabbit.oak.commons.json
A tokenizer for Json and Jsop strings.
JsopTokenizer(String, int) - Constructor for class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
JsopTokenizer(String) - Constructor for class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
JsopWriter - Interface in org.apache.jackrabbit.oak.commons.json
A builder for Json and Json diff strings.

K

key(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append the key (in quotes) plus a colon.
key(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
key(String) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append the key (in quotes) plus a colon.

L

LazyInputStream - Class in org.apache.jackrabbit.oak.commons.io
* This input stream delays accessing the ByteSource until the first byte is read
LazyInputStream(ByteSource) - Constructor for class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
length() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Get the buffer length.
lexComparator - Static variable in class org.apache.jackrabbit.oak.commons.FileIOUtils
 
lineBreakAwareComparator(Comparator<String>) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Composing iterator which unescapes for line breaks and delegates to the given comparator.
load(K) - Method in interface org.apache.jackrabbit.oak.commons.cache.Cache.Backend
Load the object.
LongUtils - Class in org.apache.jackrabbit.oak.commons
 

M

main(String...) - Static method in class org.apache.jackrabbit.oak.commons.Profiler
Run the command line version of the profiler.
main(String[]) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
mark(String) - Method in class org.apache.jackrabbit.oak.commons.DebugTimer
 
mark(int) - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
markSupported() - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
matches(int) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Read a token which must match a given token type.
matches(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
matches(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a token which must match a given token type.
merge(List<File>, File) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Merges a list of files after sorting with the FileIOUtils.lexComparator.
merge(List<File>, File, Comparator<String>) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Merges a list of files after sorting with the given comparator.
merge(BufferedWriter, Comparator<T>, boolean, List<BinaryFileBuffer<T>>, Function<T, String>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges several BinaryFileBuffer to an output writer.
mergeSortedFiles(List<File>, File) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>, Charset, boolean, boolean, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<T>, Charset, boolean, boolean, boolean, Function<T, String>, Function<String, T>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files and deletes them on success or error.
mergeSortedFiles(List<File>, BufferedWriter, Comparator<T>, Charset, boolean, boolean, Function<T, String>, Function<String, T>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files and deletes them on success or error.
mergeSortedFiles(List<File>, File, Comparator<String>, Charset, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>, Charset) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files

N

newInstance(Cache.Backend<K, V>, int) - Static method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
newline() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append a newline character.
newline() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
newline() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append a newline character.
nextPowerOf2(int) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Get the value that is equal or higher than this value, and that is a power of two.
NotifyingFutureTask - Class in org.apache.jackrabbit.oak.commons.concurrent
A Future that accepts completion listener.
NotifyingFutureTask(Callable<Void>) - Constructor for class org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask
 
NotifyingFutureTask(Runnable) - Constructor for class org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask
 
NULL - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of "null".
NUMBER - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of a number value.

O

OakVersion - Class in org.apache.jackrabbit.oak.commons
Provides version information about Oak.
object() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append '{'.
object() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
object() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append '{'.
onComplete(Runnable) - Method in class org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask
Set the on complete handler.
org.apache.jackrabbit.oak.commons - package org.apache.jackrabbit.oak.commons
 
org.apache.jackrabbit.oak.commons.cache - package org.apache.jackrabbit.oak.commons.cache
 
org.apache.jackrabbit.oak.commons.concurrent - package org.apache.jackrabbit.oak.commons.concurrent
 
org.apache.jackrabbit.oak.commons.io - package org.apache.jackrabbit.oak.commons.io
 
org.apache.jackrabbit.oak.commons.json - package org.apache.jackrabbit.oak.commons.json
 
org.apache.jackrabbit.oak.commons.sort - package org.apache.jackrabbit.oak.commons.sort
 

P

passThruTransformer - Static variable in class org.apache.jackrabbit.oak.commons.FileIOUtils
 
PathUtils - Class in org.apache.jackrabbit.oak.commons
Utility methods to parse a path.
paused - Variable in class org.apache.jackrabbit.oak.commons.Profiler
 
PerfLogger - Class in org.apache.jackrabbit.oak.commons
PerfLogger is a simpler wrapper around a slf4j Logger which comes with the capability to issue log statements containing the measurement between start() and end() methods.
PerfLogger(Logger) - Constructor for class org.apache.jackrabbit.oak.commons.PerfLogger
Create a new PerfLogger that shall use the given Logger object for logging
populate(Object, Map<String, ?>, boolean) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Populates the bean properties from config instance.
premain(String, Instrumentation) - Static method in class org.apache.jackrabbit.oak.commons.Profiler
This method is called when the agent is installed.
prettyPrint(String) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Beautify (format) the json / jsop string.
Profiler - Class in org.apache.jackrabbit.oak.commons
A simple CPU profiling tool similar to java -Xrunhprof.
Profiler() - Constructor for class org.apache.jackrabbit.oak.commons.Profiler
 
PropertiesUtil - Class in org.apache.jackrabbit.oak.commons
The PropertiesUtil is a utility class providing some useful utility methods for converting property types.
put(K, V) - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 

Q

QueryUtils - Class in org.apache.jackrabbit.oak.commons
 

R

read() - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
read(byte[]) - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
read(byte[], int, int) - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
read(int) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Read a token which must match a given token type.
read() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Read a token and return the token type.
read(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
read() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
read(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a token which must match a given token type.
read() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a token and return the token type.
readBytes(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a byte array.
readFully(InputStream, byte[], int, int) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Try to read the given number of bytes to the buffer.
readInt(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read an integer (4 bytes).
readLong(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a long (8 bytes).
readRawValue() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Return the row (escaped) token.
readRawValue() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
readRawValue() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a value and return the raw Json representation.
readString(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a String.
readString() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Read a string.
readString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
readString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a string.
readStringsAsSet(InputStream, boolean) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Reads strings from the given stream into a set and optionally unescaping for line breaks.
readVarInt(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a variable size integer.
readVarLong(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a variable size long.
relativize(String, String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Relativize a path wrt.
replace(K, V) - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
Get the element in the cache if one exists, or add it to the cache if not.
reset() - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
resetReader() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Reset the position to 0, so that to restart reading.
resetReader() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
resetReader() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
resetWriter() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Resets this instance.
resetWriter() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
resetWriter() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Resets this instance, so that all data is discarded.
ROOT_NAME - Static variable in class org.apache.jackrabbit.oak.commons.PathUtils
 
ROOT_PATH - Static variable in class org.apache.jackrabbit.oak.commons.PathUtils
 
run() - Method in class org.apache.jackrabbit.oak.commons.Profiler
 

S

safeAdd(long, long) - Static method in class org.apache.jackrabbit.oak.commons.LongUtils
Sums a and b and verifies that it doesn't overflow in signed long arithmetic, in which case Long.MAX_VALUE will be returned instead of the result.
setLineLength(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
 
setLineLength(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
setLineLength(int) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Set the line length, after which a newline is added (to improve readability).
setPos(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
size() - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
skip(long) - Method in class org.apache.jackrabbit.oak.commons.io.LazyInputStream
 
skipFully(InputStream, long) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Skip a number of bytes in an input stream.
sort(File) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Sorts the given file externally using the FileIOUtils.lexComparator and removes duplicates.
sort(File, Comparator<String>) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Sorts the given file externally with the given comparator and removes duplicates.
sort(File, File) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
sort() - Method in class org.apache.jackrabbit.oak.commons.sort.StringSort
 
sortAndSave(List<String>, Comparator<String>, Charset, File, boolean, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
Sort a list and save it to a temporary file
sortAndSave(List<T>, Comparator<T>, Charset, File, boolean, boolean, Function<T, String>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
Sort a list and save it to a temporary file
sortAndSave(List<String>, Comparator<String>, Charset, File) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
Sort a list and save it to a temporary file
sortInBatch(File) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(File, Comparator<String>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(File, Comparator<String>, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(File, Comparator<String>, int, long, Charset, File, boolean, int, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(File, Comparator<T>, int, long, Charset, File, boolean, int, boolean, Function<T, String>, Function<String, T>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(BufferedReader, long, Comparator<T>, int, long, Charset, File, boolean, int, boolean, Function<T, String>, Function<String, T>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
sortInBatch(File, Comparator<String>, int, long, Charset, File, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
start() - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
Shortcut to #start(null, false)
start(String) - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
Shortcut to start(traceMsgOrNull, false)
startCollecting() - Method in class org.apache.jackrabbit.oak.commons.Profiler
Start collecting profiling data.
startForInfoLog() - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
Shortcut to start(null, true)
startForInfoLog(String) - Method in class org.apache.jackrabbit.oak.commons.PerfLogger
Shortcut to start(traceMsgOrNull, true)
stopCollecting() - Method in class org.apache.jackrabbit.oak.commons.Profiler
Stop collecting.
STRING - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of a string value.
StringSizeEstimator - Class in org.apache.jackrabbit.oak.commons.sort
Source copied from a publicly available library.
StringSort - Class in org.apache.jackrabbit.oak.commons.sort
Utility class to store a list of string and perform sort on that.
StringSort(int, Comparator<String>) - Constructor for class org.apache.jackrabbit.oak.commons.sort.StringSort
 
StringUtils - Class in org.apache.jackrabbit.oak.commons
Some string utility methods.
sumClasses - Variable in class org.apache.jackrabbit.oak.commons.Profiler
 
sumMethods - Variable in class org.apache.jackrabbit.oak.commons.Profiler
 

T

tag(char) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append a Jsop tag character.
tag(char) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
tag(char) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append a Jsop tag character.
TimeDurationFormatter - Class in org.apache.jackrabbit.oak.commons
Format a time duration as human-readable string, inspired by Stopwatch.toString().
TimeDurationFormatter(Locale, int, boolean) - Constructor for class org.apache.jackrabbit.oak.commons.TimeDurationFormatter
 
toBoolean(Object, boolean) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Returns the boolean value of the parameter or the defaultValue if the parameter is null.
toDouble(Object, double) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Returns the parameter as a double or the defaultValue if the parameter is null or if the parameter is not a Double and cannot be converted to a Double from the parameter's string value.
toInteger(Object, int) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Returns the parameter as an integer or the defaultValue if the parameter is null or if the parameter is not an Integer and cannot be converted to an Integer from the parameter's string value.
toJson(JsopBuilder) - Method in class org.apache.jackrabbit.oak.commons.json.JsonObject
 
toLong(Object, long) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Returns the parameter as a long or the defaultValue if the parameter is null or if the parameter is not a Long and cannot be converted to a Long from the parameter's string value.
toObject(Object) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Returns the parameter as a single value.
toString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Get the generated string.
toString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
toString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
toString(Object, String) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Returns the parameter as a string or the defaultValue if the parameter is null.
toStringArray(Object) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Returns the parameter as an array of Strings.
toStringArray(Object, String[]) - Static method in class org.apache.jackrabbit.oak.commons.PropertiesUtil
Returns the parameter as an array of Strings.
TransformingComparator(Comparator, Function<String, String>) - Constructor for class org.apache.jackrabbit.oak.commons.FileIOUtils.TransformingComparator
 
TRUE - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of the value "true".

U

unescapeLineBreaks(String) - Static method in class org.apache.jackrabbit.oak.commons.sort.EscapeUtils
 
unifyInExcludes(Set<String>, Set<String>) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Unify path inclusions and exclusions.
usingFile() - Method in class org.apache.jackrabbit.oak.commons.sort.StringSort
 
UUIDUtils - Class in org.apache.jackrabbit.oak.commons
 

V

validate(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Check if the path is valid, and throw an IllegalArgumentException if not.
value(long) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append a number.
value(boolean) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append the boolean value 'true' or 'false'.
value(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append a string or null.
value(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
value(long) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
value(boolean) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
value(String) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append a string or null.
value(long) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append a number.
value(boolean) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append the boolean value 'true' or 'false'.

W

wrap(LineIterator) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils.BurnOnCloseFileIterator
 
wrap(LineIterator, File) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils.BurnOnCloseFileIterator
 
writeAsLine(BufferedWriter, String, boolean) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Writes a string as a new line into the given buffered writer and optionally escapes the line for line breaks.
writeBytes(OutputStream, byte[]) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a byte array.
writeInt(OutputStream, int) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write an integer (4 bytes).
writeLong(OutputStream, long) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a long (8 bytes).
writeString(OutputStream, String) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a String.
writeStrings(Iterator<String>, File, boolean) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Writes string from the given iterator to the given file and optionally escape the written strings for line breaks.
writeStrings(Iterator<String>, File, boolean, Logger, String) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Writes string from the given iterator to the given file and optionally escape the written strings for line breaks.
writeStrings(Iterator<String>, File, boolean, Function<String, String>, Logger, String) - Static method in class org.apache.jackrabbit.oak.commons.FileIOUtils
Writes string from the given iterator to the given file and optionally escape the written strings for line breaks.
writeVarInt(OutputStream, int) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a variable size integer.
writeVarLong(OutputStream, long) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a variable size long.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.