public class TransientDataSetIndexRegistry extends Object implements DataSetIndexRegistry
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,DataSetIndex> |
indexMap |
protected UUIDGenerator |
uuidGenerator |
| Constructor and Description |
|---|
TransientDataSetIndexRegistry(UUIDGenerator uuidGenerator) |
| Modifier and Type | Method and Description |
|---|---|
DataSetIndex |
get(String uuid)
Get the index for the specified data set.
|
DataSetIndex |
put(DataSet dataSet)
Index the given data set.
|
DataSetIndex |
remove(String uuid)
Removes the index for the specified data set.
|
protected UUIDGenerator uuidGenerator
protected Map<String,DataSetIndex> indexMap
public TransientDataSetIndexRegistry(UUIDGenerator uuidGenerator)
public DataSetIndex put(DataSet dataSet)
DataSetIndexRegistryput in interface DataSetIndexRegistrypublic DataSetIndex get(String uuid)
DataSetIndexRegistryget in interface DataSetIndexRegistryuuid - The data set unique identifier.public DataSetIndex remove(String uuid)
DataSetIndexRegistryremove in interface DataSetIndexRegistryuuid - The data set unique identifier.Copyright © 2017–2021 JBoss by Red Hat. All rights reserved.