Index

C D E G H I M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

C

checkAccess(Path, AccessMode...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
checkAccess(Path, AccessMode...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
close() - Method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
 
copy(Path, Path, CopyOption...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
copy(Path, Path, CopyOption...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
createDirectory(Path, FileAttribute...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
Unsupported method.
createDirectory(Path, FileAttribute...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
Unsupported method.

D

DEFALT_RETRYABLE_MESSAGES - Static variable in class org.broadinstitute.http.nio.RetryHandler
the default set of exception messages which are retried when encountered
DEFAULT_RETRY_SETTINGS - Static variable in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
The default retry settings, these are a good basis for retry handling
DEFAULT_RETRYABLE_EXCEPTIONS - Static variable in class org.broadinstitute.http.nio.RetryHandler
default set of exception types which will be retried when encountered
DEFAULT_RETRYABLE_HTTP_CODES - Static variable in class org.broadinstitute.http.nio.RetryHandler
default set of HTTP codes which will be retried
DEFAULT_SETTINGS - Static variable in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
default settings which will be used unless they are reset
delete(Path) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
Unsupported method.
delete(Path) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
Unsupported method.

E

equals(Object) - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Indicates whether some other object is "equal to" this one.
ExceptionCauseIterator - Class in org.broadinstitute.http.nio.utils
Iterate through the cause chain of a Throwable to examine all the causes in turn Bounded by ExceptionCauseIterator.MAX_DEPTH in order to prevent infinite loops.
ExceptionCauseIterator(Throwable) - Constructor for class org.broadinstitute.http.nio.utils.ExceptionCauseIterator
 
exists(URI, HttpFileSystemProviderSettings) - Static method in class org.broadinstitute.http.nio.utils.HttpUtils
Check if an URI exists.

G

get() - Method in interface org.broadinstitute.http.nio.RetryHandler.IOSupplier
Equivalent to Supplier.get()
getClient(HttpFileSystemProviderSettings) - Static method in class org.broadinstitute.http.nio.utils.HttpUtils
Get an HttpClient built wth appropriate settings.
getFileAttributeView(Path, Class, LinkOption...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
getFileAttributeView(Path, Class, LinkOption...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
getFileStore(Path) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
getFileStore(Path) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
getFileSystem(URI) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
getFileSystem(URI) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
getMaxRetries() - Method in class org.broadinstitute.http.nio.RetryHandler
 
getPath(URI) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
getPath(URI) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
getResponseCode() - Method in exception class org.broadinstitute.http.nio.UnexpectedHttpResponseException
 
getRetries() - Method in exception class org.broadinstitute.http.nio.OutOfRetriesException
 
getScheme() - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
getScheme() - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
getSettings() - Static method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
getSettings() - Static method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
getTotalWaitTime() - Method in exception class org.broadinstitute.http.nio.OutOfRetriesException
 

H

hashCode() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
Returns a hash code value for this object.
hashCode() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Returns a hash code value for this object.
hasNext() - Method in class org.broadinstitute.http.nio.utils.ExceptionCauseIterator
 
HTTP_PATH_CHARSET - Static variable in class org.broadinstitute.http.nio.utils.HttpUtils
Charset for path component of HTTP/S URL.
HTTP_PATH_SEPARATOR_CHAR - Static variable in class org.broadinstitute.http.nio.utils.HttpUtils
Separator char for path component of HTTP/S URL.
HTTP_PATH_SEPARATOR_STRING - Static variable in class org.broadinstitute.http.nio.utils.HttpUtils
Separator String for path component of HTTP/S URL.
HttpFileSystemProvider - Class in org.broadinstitute.http.nio
Read-only FileSystemProvider for HTTP.
HttpFileSystemProvider() - Constructor for class org.broadinstitute.http.nio.HttpFileSystemProvider
 
HttpFileSystemProviderSettings - Record Class in org.broadinstitute.http.nio
Settings that control the behavior of newly instantiated Http(s)FileSystems
HttpFileSystemProviderSettings(Duration, HttpClient.Redirect, HttpFileSystemProviderSettings.RetrySettings) - Constructor for record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
Creates an instance of a HttpFileSystemProviderSettings record class.
HttpFileSystemProviderSettings.RetrySettings - Record Class in org.broadinstitute.http.nio
Settings which control the behavior of http retries
HttpSeekableByteChannel - Class in org.broadinstitute.http.nio
Implementation for a SeekableByteChannel for URL open as a connection.
HttpSeekableByteChannel(URI) - Constructor for class org.broadinstitute.http.nio.HttpSeekableByteChannel
create a new seekable channel with default setttings at beggining of the file
HttpSeekableByteChannel(URI, long) - Constructor for class org.broadinstitute.http.nio.HttpSeekableByteChannel
Create a new seekable channel with default setttins and seek to the given position
HttpSeekableByteChannel(URI, HttpFileSystemProviderSettings, long) - Constructor for class org.broadinstitute.http.nio.HttpSeekableByteChannel
Create a new seekable channel which reads from the requested URI
HttpsFileSystemProvider - Class in org.broadinstitute.http.nio
Read-only FileSystemProvider for HTTPS.
HttpsFileSystemProvider() - Constructor for class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
HttpUtils - Class in org.broadinstitute.http.nio.utils
Utility class for working with HTTP/S connections and URLs.

I

IncompatibleResponseToRangeQueryException - Exception Class in org.broadinstitute.http.nio
indicates that a partial file was returned when the whole file was expecteted or vice a versa
IncompatibleResponseToRangeQueryException(int, String) - Constructor for exception class org.broadinstitute.http.nio.IncompatibleResponseToRangeQueryException
 
isHidden(Path) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
isHidden(Path) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
isOpen() - Method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
 
isRetryable(Exception) - Method in class org.broadinstitute.http.nio.RetryHandler
 
isSameFile(Path, Path) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
isSameFile(Path, Path) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
iterator() - Method in class org.broadinstitute.http.nio.utils.ExceptionCauseIterator
 

M

MAX_DEPTH - Static variable in class org.broadinstitute.http.nio.utils.ExceptionCauseIterator
The maximum depth of causes to explore before stopping
maxRetries() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Returns the value of the maxRetries record component.
move(Path, Path, CopyOption...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
Unsupported method.
move(Path, Path, CopyOption...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
Unsupported method.

N

newByteChannel(Path, Set, FileAttribute...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
newByteChannel(Path, Set, FileAttribute...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
newDirectoryStream(Path, DirectoryStream.Filter) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
newDirectoryStream(Path, DirectoryStream.Filter) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
newFileSystem(URI, Map) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
newFileSystem(URI, Map) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
next() - Method in class org.broadinstitute.http.nio.utils.ExceptionCauseIterator
 
nonNull(T, Supplier) - Static method in class org.broadinstitute.http.nio.utils.Utils
Throws an IllegalArgumentException if the object is null.

O

org.broadinstitute.http.nio - package org.broadinstitute.http.nio
HTTP/S FileSystem provider for Java NIO.2
org.broadinstitute.http.nio.utils - package org.broadinstitute.http.nio.utils
 
OutOfRetriesException - Exception Class in org.broadinstitute.http.nio
Indicates a failure which could be retried but was not because all allowed retries were exhausted.
OutOfRetriesException(int, Duration, Throwable) - Constructor for exception class org.broadinstitute.http.nio.OutOfRetriesException
 

P

position() - Method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
 
position(long) - Method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
 

R

read(ByteBuffer) - Method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
 
readAttributes(Path, Class, LinkOption...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
readAttributes(Path, Class, LinkOption...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
readAttributes(Path, String, LinkOption...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
readAttributes(Path, String, LinkOption...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
readWithoutPerturbingTheBufferIfAnErrorOccurs(ByteBuffer, ReadableByteChannel) - Static method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
Performs the equivalent of a channel.read(buf) operation but in the case of an exception the state of the input buffer is not adversely impacted.
redirect() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
Returns the value of the redirect record component.
retryableExceptions() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Returns the value of the retryableExceptions record component.
retryableHttpCodes() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Returns the value of the retryableHttpCodes record component.
retryableMessages() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Returns the value of the retryableMessages record component.
RetryHandler - Class in org.broadinstitute.http.nio
Simple counter class to keep track of retry and reopen attempts when StorageExceptions are encountered.
RetryHandler(int, Collection, Collection, Collection, Predicate, URI) - Constructor for class org.broadinstitute.http.nio.RetryHandler
Create a CloudStorageRetryHandler with the maximum retries and reopens set to different values.
RetryHandler(HttpFileSystemProviderSettings.RetrySettings, URI) - Constructor for class org.broadinstitute.http.nio.RetryHandler
 
RetryHandler.IORunnable - Interface in org.broadinstitute.http.nio
invalid input: '{@linkplain /*missing*/}' equivalent which can throw IOException
RetryHandler.IOSupplier<T> - Interface in org.broadinstitute.http.nio
Supplier equivalent which can throw IOException
retryPredicate() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Returns the value of the retryPredicate record component.
retrySettings() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
Returns the value of the retrySettings record component.
RetrySettings(int, Collection, Collection, Collection, Predicate) - Constructor for record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Settings to control retry behavior
run() - Method in interface org.broadinstitute.http.nio.RetryHandler.IORunnable
equivalent to Runnable.run()
runWithRetries(RetryHandler.IORunnable) - Method in class org.broadinstitute.http.nio.RetryHandler
A function to run and potentially retry if an error occurs and meets the retry criteria Note that functions may be run repeatedly so any state which is changed during an unsuccessful attempt must not poison the class.
runWithRetries(RetryHandler.IOSupplier) - Method in class org.broadinstitute.http.nio.RetryHandler
A function to run and potentially retry if an error occurs and meets the retry criteria Note that functions may be run repeatedly so any state which is changed during an unsuccessful attempt must not poison the class.

S

SCHEME - Static variable in class org.broadinstitute.http.nio.HttpFileSystemProvider
Scheme for HTTP files.
SCHEME - Static variable in class org.broadinstitute.http.nio.HttpsFileSystemProvider
Scheme for HTTPS files.
setAttribute(Path, String, Object, LinkOption...) - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
setAttribute(Path, String, Object, LinkOption...) - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
setSettings(HttpFileSystemProviderSettings) - Static method in class org.broadinstitute.http.nio.HttpFileSystemProvider
override the existing settings
setSettings(HttpFileSystemProviderSettings) - Static method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
override the existing settings
ShouldNotHappenException(String) - Constructor for exception class org.broadinstitute.http.nio.utils.Utils.ShouldNotHappenException
Constructor.
ShouldNotHappenException(Throwable) - Constructor for exception class org.broadinstitute.http.nio.utils.Utils.ShouldNotHappenException
Constructor.
size() - Method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
 

T

timeout() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
Returns the value of the timeout record component.
toString() - Method in class org.broadinstitute.http.nio.HttpFileSystemProvider
 
toString() - Method in class org.broadinstitute.http.nio.HttpsFileSystemProvider
 
toString() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings.RetrySettings
Returns a string representation of this record class.
toString() - Method in record class org.broadinstitute.http.nio.HttpFileSystemProviderSettings
Returns a string representation of this record class.
truncate(long) - Method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
 
tryOnceThenWithRetries(RetryHandler.IOSupplier, RetryHandler.IOSupplier) - Method in class org.broadinstitute.http.nio.RetryHandler
First attempt the runFirst function.

U

UnexpectedHttpResponseException - Exception Class in org.broadinstitute.http.nio
thrown when we recieve an unexpected response code from an http request which is not otherwise specially handled
UnexpectedHttpResponseException(int, String) - Constructor for exception class org.broadinstitute.http.nio.UnexpectedHttpResponseException
 
Utils - Class in org.broadinstitute.http.nio.utils
Generic utility methods.
Utils.ShouldNotHappenException - Exception Class in org.broadinstitute.http.nio.utils
RuntimeException for parts of the code that should not happen.

V

validateArg(boolean, String) - Static method in class org.broadinstitute.http.nio.utils.Utils
 

W

write(ByteBuffer) - Method in class org.broadinstitute.http.nio.HttpSeekableByteChannel
 
C D E G H I M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form