public class IgniteTxMappingsImpl extends Object implements IgniteTxMappings
Constructor and Description |
---|
IgniteTxMappingsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears this mappings.
|
boolean |
empty() |
GridDistributedTxMapping |
get(UUID nodeId) |
GridDistributedTxMapping |
localMapping() |
Collection<GridDistributedTxMapping> |
mappings() |
void |
put(GridDistributedTxMapping mapping) |
GridDistributedTxMapping |
remove(UUID nodeId) |
boolean |
single() |
GridDistributedTxMapping |
singleMapping() |
String |
toString() |
public void clear()
clear
in interface IgniteTxMappings
public boolean empty()
empty
in interface IgniteTxMappings
True
if there are no mappings.public GridDistributedTxMapping get(UUID nodeId)
get
in interface IgniteTxMappings
nodeId
- Node ID.public void put(GridDistributedTxMapping mapping)
put
in interface IgniteTxMappings
mapping
- Mapping.public GridDistributedTxMapping remove(UUID nodeId)
remove
in interface IgniteTxMappings
nodeId
- Node ID.@Nullable public GridDistributedTxMapping localMapping()
localMapping
in interface IgniteTxMappings
public boolean single()
single
in interface IgniteTxMappings
True
if this is single mapping.@Nullable public GridDistributedTxMapping singleMapping()
singleMapping
in interface IgniteTxMappings
public Collection<GridDistributedTxMapping> mappings()
mappings
in interface IgniteTxMappings
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017