public class PartitionSpecificRunnableAdaptor extends Object implements PartitionSpecificRunnable
PartitionSpecificRunnable
implementation
which wraps a plain Runnable
Constructor and Description |
---|
PartitionSpecificRunnableAdaptor(Runnable task,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
int |
getPartitionId()
Returns the partition ID.
|
void |
run() |
String |
toString() |
public PartitionSpecificRunnableAdaptor(Runnable task, int partitionId)
public int getPartitionId()
PartitionSpecificRunnable
getPartitionId
in interface PartitionSpecificRunnable
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.