public static class CosNInputStream.ReadBuffer extends Object
CosNInputStream
and CosNFileReadTask to buffer data that read from COS blob store.| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR |
static int |
INIT |
static int |
SUCCESS |
| Constructor and Description |
|---|
ReadBuffer(long start,
long end) |
public static final int INIT
public static final int SUCCESS
public static final int ERROR
public void lock()
public void unLock()
public void await(int waitStatus)
throws InterruptedException
InterruptedExceptionpublic void signalAll()
public byte[] getBuffer()
public int getStatus()
public void setStatus(int status)
public long getStart()
public long getEnd()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.