public final class S3RandomAccessFile extends ucar.unidata.io.RemoteRandomAccessFile implements ucar.unidata.io.ReadableRemoteFile, Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
S3RandomAccessFile.Provider
Hook into service provider interface to RandomAccessFileProvider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeRemote() |
long |
getLastModified() |
long |
length() |
int |
readRemote(long pos,
byte[] buff,
int offset,
int len)
Read directly from the remote service All reading goes through here or readToByteChannel;
1.
|
acquire, acquire, eject, enableDefaultGlobalFileCache, flush, getAllFiles, getBufferSize, getDebugLeaks, getDebugNbytes, getDebugNseeks, getFilePointer, getGlobalFileCache, getLocation, getMaxOpenFileCount, getOpenFileCount, getOpenFiles, getRandomAccessFile, isAtEndOfFile, order, order, reacquire, read, read, read, readBoolean, readBuffer, readByte, readBytes, readBytes, readChar, readDouble, readDouble, readFloat, readFloat, readFully, readFully, readInt, readInt, readIntUnbuffered, readLine, readLong, readLong, readShort, readShort, readString, readString, readStringMax, readStringMax, readUnsignedByte, readUnsignedShort, readUTF, release, searchForward, seek, setBufferSize, setDebugAccess, setDebugLeaks, setExtendMode, setFileCache, setGlobalFileCache, setMinLength, shutdown, skipBytes, skipBytes, toString, unread, write, write, write, writeBoolean, writeBoolean, writeByte, writeBytes, writeBytes, writeBytes, writeChar, writeChar, writeChars, writeDouble, writeDouble, writeFloat, writeFloat, writeInt, writeInt, writeLong, writeLong, writeShort, writeShort, writeUTFpublic void closeRemote()
closeRemote in interface ucar.unidata.io.ReadableRemoteFilepublic int readRemote(long pos,
byte[] buff,
int offset,
int len)
throws IOException
readRemote in interface ucar.unidata.io.ReadableRemoteFilepos - start here in the filebuff - put data into this bufferoffset - buffer offsetlen - this number of bytesIOException - on io errorpublic long length()
length in class ucar.unidata.io.RandomAccessFilepublic long getLastModified()
getLastModified in interface ucar.nc2.util.cache.FileCacheablegetLastModified in class ucar.unidata.io.RandomAccessFile