public class EntityPartition<T> extends java.lang.Object implements DataPartition<T>
DEFAULT_REF| Constructor and Description |
|---|
EntityPartition(int id,
T val)
Deprecated.
Use constructor without ID instead
|
EntityPartition(T val) |
| Modifier and Type | Method and Description |
|---|---|
EntityConsumer<T> |
getConsumer()
Get the data consumer
|
int |
getPartitionId()
Get the id of the partition
|
void |
setId(int id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, first, firstOrDefault, getReference@Deprecated
public EntityPartition(int id,
T val)
public EntityPartition(T val)
public EntityConsumer<T> getConsumer()
DataPartitiongetConsumer in interface DataPartition<T>public void setId(int id)
setId in interface DataPartition<T>public int getPartitionId()
DataPartitiongetPartitionId in interface DataPartition<T>