public class Shard extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Shard.Member
A shard member.
|
| Constructor and Description |
|---|
Shard() |
| Modifier and Type | Method and Description |
|---|---|
long |
getEndTime() |
int |
getId() |
List<Shard.Member> |
getShards() |
long |
getStartTime() |
boolean |
isLongTerm() |
void |
setEndTime(long endTime) |
void |
setId(int id) |
void |
setLongTerm(boolean longTerm) |
void |
setShards(List<Shard.Member> shards) |
void |
setStartTime(long startTime) |
String |
toString() |
public int getId()
public void setId(int id)
id - the id to setpublic long getStartTime()
public void setStartTime(long startTime)
startTime - the startTime to setpublic long getEndTime()
public void setEndTime(long endTime)
endTime - the endTime to setpublic boolean isLongTerm()
public void setLongTerm(boolean longTerm)
longTerm - the longTerm to setpublic List<Shard.Member> getShards()
public void setShards(List<Shard.Member> shards)
shards - the shards to setCopyright © 2014. All Rights Reserved.