public class TDatabaseVersionCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the cache.
|
java.lang.String |
fetchVersion(TUri databaseUri)
Get the version from the given database uri.
|
static TDatabaseVersionCache |
getInstance()
Get the TDatabaseVersionCache singleton instance.
|
java.lang.String |
getVersion(TUri databaseUri)
Get the version from the given database uri.
|
void |
update(TUri databaseUri,
java.lang.String version)
Update the cache.
|
public static TDatabaseVersionCache getInstance()
public void update(TUri databaseUri, java.lang.String version)
databaseUri
- the database uriversion
- the version stringpublic java.lang.String getVersion(TUri databaseUri)
databaseUri
- the database uri stringpublic java.lang.String fetchVersion(TUri databaseUri)
databaseUri
- the database uri stringpublic void clear()
Copyright (c) 2017 Software AG. All Rights Reserved.