public abstract class GridGgfsInputStreamAdapter
extends org.gridgain.grid.ggfs.GridGgfsInputStream
| Constructor and Description |
|---|
GridGgfsInputStreamAdapter() |
| Modifier and Type | Method and Description |
|---|---|
abstract GridGgfsFileInfo |
fileInfo()
Gets file info for opened file.
|
long |
length() |
abstract byte[][] |
readChunks(long pos,
int len)
Reads bytes from given position.
|
position, read, readFully, readFully, seekavailable, close, mark, markSupported, read, read, read, reset, skippublic long length()
length in class org.gridgain.grid.ggfs.GridGgfsInputStreampublic abstract GridGgfsFileInfo fileInfo()
public abstract byte[][] readChunks(long pos,
int len)
throws IOException
pos - Position to read from.len - Number of bytes to read.IOException - If read failed.Copyright © 2014. All rights reserved.