Skip navigation links
C D E F G I L M N O R S T V W 

C

CapturedPrintStream - Class in org.terracotta.utilities.io
Extends PrintStream to capture the output to an in-memory buffer.
CHARSET - Static variable in class org.terracotta.utilities.exec.Shell.Encoding
The Charset to use when interacting with the shell.
close() - Method in class org.terracotta.utilities.io.NullOutputStream
 
close() - Method in class org.terracotta.utilities.logging.LoggingOutputStream
 
copy(Path, Path, CopyOption...) - Static method in class org.terracotta.utilities.io.Files
Copies a file or directory.
copy(InputStream, Path, CopyOption...) - Static method in class org.terracotta.utilities.io.Files
Copies the bytes from an InputStream to the specified target file.

D

DEFAULT_BUFFER_SIZE - Static variable in class org.terracotta.utilities.logging.LoggingOutputStream
 
delete(Path) - Static method in class org.terracotta.utilities.io.Files
Deletes the file system path specified by first renaming the file then performing the delete.
delete(Path, Duration) - Static method in class org.terracotta.utilities.io.Files
Deletes the file system path specified by first renaming the file then performing the delete.
delete(Path, Duration, Runnable) - Static method in class org.terracotta.utilities.io.Files
Deletes the file system path specified by first renaming the file then performing the delete.
deleteIfExists(Path) - Static method in class org.terracotta.utilities.io.Files
Deletes the file system path specified if it exists.
deleteTree(Path) - Static method in class org.terracotta.utilities.io.Files
Deletes the file system tree beginning at the specified path.
deleteTree(Path, Duration) - Static method in class org.terracotta.utilities.io.Files
Deletes the file system tree beginning at the specified path.
deleteTree(Path, Duration, Runnable) - Static method in class org.terracotta.utilities.io.Files
Deletes the file system tree beginning at the specified path.
dump(byte[]) - Method in class org.terracotta.utilities.io.buffer.DumpUtility
Writes the contents of byte[] to the PrintStream provided.
dumpBuffer(IntBuffer, PrintStream) - Static method in class org.terracotta.utilities.io.buffer.DumpUtility
A convenience method that allocates a DumpUtility instance, dumps a buffer, and discards the DumpUtility instance.
dumpBuffer(LongBuffer, PrintStream) - Static method in class org.terracotta.utilities.io.buffer.DumpUtility
A convenience method that allocates a DumpUtility instance, dumps a buffer, and discards the DumpUtility instance.
dumpBuffer(ByteBuffer, PrintStream) - Static method in class org.terracotta.utilities.io.buffer.DumpUtility
A convenience method that allocates a DumpUtility instance, dumps a buffer, and discards the DumpUtility instance.
dumpBuffer(IntBuffer) - Method in class org.terracotta.utilities.io.buffer.DumpUtility
Attempts to dump a IntBuffer.
dumpBuffer(LongBuffer) - Method in class org.terracotta.utilities.io.buffer.DumpUtility
Attempts to dump a LongBuffer.
dumpBuffer(ByteBuffer) - Method in class org.terracotta.utilities.io.buffer.DumpUtility
Writes the contents of ByteBuffer to the PrintStream provided.
DumpUtility - Class in org.terracotta.utilities.io.buffer
Provides methods to dump Buffer instances.
DumpUtility(PrintStream) - Constructor for class org.terracotta.utilities.io.buffer.DumpUtility
Constructs a new DumpUtility using the PrintStream provided.
DumpUtility(PrintStream, CharSequence) - Constructor for class org.terracotta.utilities.io.buffer.DumpUtility
Constructs a new DumpUtility using the PrintStream and line prefix provided.
DumpUtility.FieldInaccessibleException - Exception in org.terracotta.utilities.io.buffer
Thrown if reflective access to a required internal field fails.

E

Encoding() - Constructor for class org.terracotta.utilities.exec.Shell.Encoding
 
execute(Charset, String...) - Static method in class org.terracotta.utilities.exec.Shell
Executes a command in the host and returns the command output, both stdout and stderr, as a list of strings.
exitCode() - Method in class org.terracotta.utilities.exec.Shell.Result
Gets the process exit code.

F

FieldInaccessibleException(String, Throwable) - Constructor for exception org.terracotta.utilities.io.buffer.DumpUtility.FieldInaccessibleException
 
Files - Class in org.terracotta.utilities.io
Provides sane file management operations.
Files.ExtendedOption - Enum in org.terracotta.utilities.io
CopyOption values accepted by Files.
Files.FileStoreConstraintException - Exception in org.terracotta.utilities.io
Thrown to indicate that a file copy was attempted outside of the origin FileStore.
FileStoreConstraintException(String, String, String) - Constructor for exception org.terracotta.utilities.io.Files.FileStoreConstraintException
 
flush() - Method in class org.terracotta.utilities.logging.LoggingOutputStream
 

G

getInstance() - Static method in class org.terracotta.utilities.io.CapturedPrintStream
Instantiates a new CapturedPrintStream.
getInstance(Logger, Level) - Static method in class org.terracotta.utilities.logging.LoggerBridge
Creates or gets the LoggerBridge instance for the delegate Logger and Level.
getReader() - Method in class org.terracotta.utilities.io.CapturedPrintStream
Gets a BufferedReader over the bytes written to this PrintStream.

I

isLevelEnabled() - Method in class org.terracotta.utilities.logging.LoggerBridge
Checks if the delegate logger is active for the configured level.
iterator() - Method in class org.terracotta.utilities.exec.Shell.Result
Gets an iterator over the captured stdout/stderr lines.

L

lines() - Method in class org.terracotta.utilities.exec.Shell.Result
Gets the list holding the captured stdout/stderr lines.
log(String, Object...) - Method in class org.terracotta.utilities.logging.LoggerBridge
Submits a log event to the delegate logger at the level of this LoggerBridge.
log(String, Throwable) - Method in class org.terracotta.utilities.logging.LoggerBridge
Submits a log event to the delegate logger at the level of this LoggerBridge.
LoggerBridge - Class in org.terracotta.utilities.logging
Bridge to permit variable-level use of SLF4j.
LoggingOutputStream - Class in org.terracotta.utilities.logging
Implements an OutputStream that forwards lines written to it to a Logger at a specified level.
LoggingOutputStream(Logger, Level) - Constructor for class org.terracotta.utilities.logging.LoggingOutputStream
Creates a new LoggingOutputStream writing to the provided logger and the specified level.

M

MINIMUM_TIME_LIMIT - Static variable in class org.terracotta.utilities.io.Files
Deprecated.
there is now no minimum time limit for operations

N

NullOutputStream - Class in org.terracotta.utilities.io
An OutputStream which discards all data written to it.
NullOutputStream() - Constructor for class org.terracotta.utilities.io.NullOutputStream
 

O

org.terracotta.utilities.exec - package org.terracotta.utilities.exec
 
org.terracotta.utilities.io - package org.terracotta.utilities.io
 
org.terracotta.utilities.io.buffer - package org.terracotta.utilities.io.buffer
 
org.terracotta.utilities.logging - package org.terracotta.utilities.logging
 

R

relocate(Path, Path, CopyOption...) - Static method in class org.terracotta.utilities.io.Files
Moves (relocates) the source to the target location.
rename(Path, Path) - Static method in class org.terracotta.utilities.io.Files
Rename the file or directory with retry for FileSystemException instances indicating interference from temporary access by other processes.
rename(Path, Path, Duration) - Static method in class org.terracotta.utilities.io.Files
Rename the file or directory with retry for FileSystemException instances indicating interference from temporary access by other processes.
rename(Path, Path, Duration, Runnable) - Static method in class org.terracotta.utilities.io.Files
Rename the file or directory with retry for FileSystemException instances indicating interference from temporary access by other processes.
reset() - Method in class org.terracotta.utilities.io.CapturedPrintStream
Discards the captured output.

S

Shell - Class in org.terracotta.utilities.exec
Utility functions for use with execution of shell commands.
Shell.Encoding - Class in org.terracotta.utilities.exec
Singleton identifying the Charset used for encoding/decoding interactions with the "shell" command interpreter environment.
Shell.Result - Class in org.terracotta.utilities.exec
The Shell.execute(Charset, String...) command execution result.

T

toByteArray() - Method in class org.terracotta.utilities.io.CapturedPrintStream
Gets a copy of the content of this stream as a byte array.

V

valueOf(String) - Static method in enum org.terracotta.utilities.io.Files.ExtendedOption
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.terracotta.utilities.io.Files.ExtendedOption
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(int) - Method in class org.terracotta.utilities.io.NullOutputStream
 
write(byte[], int, int) - Method in class org.terracotta.utilities.io.NullOutputStream
 
write(int) - Method in class org.terracotta.utilities.logging.LoggingOutputStream
 
C D E F G I L M N O R S T V W 
Skip navigation links

Copyright © 2022. All rights reserved.