@Entity public class PartitionGroup extends AbstractIdentifiable
id| Constructor and Description |
|---|
PartitionGroup(String name,
int size,
long timeThreshold,
long sizeThreshold) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getActivePartition() |
int |
getGroupSize() |
long |
getLastRollTime() |
String |
getName() |
long |
getSizeThreshold() |
long |
getTimeThreshold() |
int |
hashCode() |
PartitionGroup |
setActivePartition(int activePartition) |
void |
setGroupSize(int groupSize) |
PartitionGroup |
setLastRollTime(long lastRollTime) |
void |
setName(String name) |
void |
setSizeThreshold(long sizeThreshold) |
void |
setTimeThreshold(long timeThreshold) |
getIdpublic PartitionGroup(String name, int size, long timeThreshold, long sizeThreshold)
public String getName()
public int getGroupSize()
public long getTimeThreshold()
public long getSizeThreshold()
public int getActivePartition()
public PartitionGroup setActivePartition(int activePartition)
public long getLastRollTime()
public PartitionGroup setLastRollTime(long lastRollTime)
public void setName(String name)
public void setGroupSize(int groupSize)
public void setTimeThreshold(long timeThreshold)
public void setSizeThreshold(long sizeThreshold)
public boolean equals(Object o)
equals in class AbstractIdentifiablepublic int hashCode()
hashCode in class AbstractIdentifiableCopyright © 2017. All Rights Reserved.