public static class CosNInputStream.ReadBuffer
extends java.lang.Object
CosNInputStream
and CosNFileReadTask to buffer data that read from COS blob store.| Modifier and Type | Field | Description |
|---|---|---|
static int |
ERROR |
|
static int |
INIT |
|
static int |
SUCCESS |
| Constructor | 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 java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void signalAll()
public byte[] getBuffer()
public int getStatus()
public void setStatus(int status)
public long getStart()
public long getEnd()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.