Class ServiceRegistry
java.lang.Object
org.apache.vinci.transport.vns.service.ServiceRegistry
Primary interface into the services database.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
boolean
boolean
boolean
boolean
checkConflict
(String ip, int min, int max) boolean
void
boolean
Service[]
getServices
(String name) Service[]
getServices
(String name, int level) Service[]
getServices
(String name, int level, boolean resolveAlias) Service[]
getServices
(String name, String level) Service[]
getServices
(String name, String level, boolean resolveAlias) String[]
String[]
Object[]
listServices
(String prefix, int level) Object[]
listServices
(String prefix, String level) void
static void
static void
void
boolean
-
Constructor Details
-
ServiceRegistry
public ServiceRegistry()
-
-
Method Details
-
addBinding
-
delBinding
-
checkConflict
-
checkBinding
-
addService
-
addAlias
-
delAlias
-
addEntry
-
updateService
-
delService
-
getServices
-
getServices
-
getServices
-
getServices
-
getServices
-
listServices
-
listServices
-
listNames
-
listNames
-
load
- Throws:
Exception
-
save
- Throws:
IOException
-
main
- Throws:
Exception
-
pr
-