public class DidLoader extends Object
| Constructor and Description |
|---|
DidLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEngine(IDidEngine<?> engine) |
void |
follow(String businessUri)
follow one business with uri
|
void |
follow(String engineName,
String businessName)
follow on business with engine name and business name
|
<T> void |
follow(String engineName,
String businessName,
T startId)
follow on business with engine name and business name
|
<T> void |
follow(String businessUri,
T startId)
follow one business with businessUri
|
<T> void |
follow(URI businessUri)
follow one business with businessUri
|
<T> void |
follow(URI businessUri,
T startId)
follow one business with businessUri
|
<T> T |
next(String businessName)
fetch the next id for business name
|
Long |
nextToLong(String businessName)
convert next to Long
|
String |
nextToString(String businessName)
convert next to String
|
protected void addEngine(IDidEngine<?> engine)
public void follow(String businessUri)
businessUri - the business uri, eg: redis://businesspublic <T> void follow(String businessUri, T startId)
businessUri - the business businessUri, eg: redis://businessstartId - the first idpublic <T> void follow(URI businessUri)
businessUri - the business url, eg: redis://businesspublic <T> void follow(URI businessUri, T startId)
businessUri - the business url, eg: redis://businessstartId - the first idpublic void follow(String engineName, String businessName)
engineName - the engine name, eg: redis, zookeeper, uuidbusinessName - the business namepublic <T> void follow(String engineName, String businessName, T startId)
engineName - the engine name, eg: redis, zookeeper, uuidbusinessName - the business namestartId - the first idpublic Long nextToLong(String businessName)
businessName - the business namepublic String nextToString(String businessName)
businessName - the business namepublic <T> T next(String businessName)
T - businessName - the business nameCopyright © 2021. All rights reserved.