public class MetadataCacheMapImpl extends Object implements MetadataCache
| Constructor and Description |
|---|
MetadataCacheMapImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Optional<ColumnMetadataDto> |
get(String profileCode,
String tableName)
get column metadata from cache if present
|
void |
put(String profileCode,
BundleTableMetadataDto tableMetadataDto)
saves given table metadata with profile code in cache
|
public void put(String profileCode, BundleTableMetadataDto tableMetadataDto)
MetadataCacheput in interface MetadataCacheprofileCode - that table metadata corresponds totableMetadataDto - hyperon persistence's table metadata to savepublic Optional<ColumnMetadataDto> get(String profileCode, String tableName)
MetadataCacheget in interface MetadataCacheprofileCode - that table metadata corresponds totableName - to get its column metadataOptional.empty() otherwisepublic void clear()
clear in interface InvalidableCopyright © 2021. All rights reserved.