public class ChunkMetadata extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCUMENTID
The Constant DOCUMENTID.
|
static String |
DOCUMENTURL
The Constant DOCUMENTURL.
|
static String |
ISCOMPLETED
The Constant ISCOMPLETED.
|
static String |
SEQUENCE
The Constant SEQUENCE.
|
static String |
THROTTLEID
The Constant THROTTLEID.
|
| Constructor and Description |
|---|
ChunkMetadata(String aDocId,
int aSequence,
boolean aLast)
Instantiates a new chunk metadata.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDocId()
Gets the doc id.
|
int |
getSequence()
Gets the sequence.
|
String |
getThrottleID()
Gets the throttle ID.
|
String |
getURL()
Gets the url.
|
boolean |
isLast()
Checks if is last.
|
boolean |
isOneOfMany()
Checks if is one of many.
|
boolean |
isTimedOut()
Checks if is timed out.
|
void |
setThrottleID(String aThrottleID)
Sets the throttle ID.
|
void |
setTimedOut(boolean b)
Sets the timed out.
|
void |
setURL(String aURL)
Sets the url.
|
public static final String SEQUENCE
public static final String DOCUMENTID
public static final String ISCOMPLETED
public static final String DOCUMENTURL
public static final String THROTTLEID
public ChunkMetadata(String aDocId, int aSequence, boolean aLast)
aDocId - the a doc idaSequence - the a sequenceaLast - the a lastpublic boolean isLast()
public int getSequence()
public boolean isOneOfMany()
public String getDocId()
public String getThrottleID()
public String getURL()
public boolean isTimedOut()
public void setTimedOut(boolean b)
b - true means timed outpublic void setThrottleID(String aThrottleID)
aThrottleID - the new throttle IDpublic void setURL(String aURL)
aURL - the new urlCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.