Class TinkerServiceRegistry
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.service.ServiceRegistry
-
- org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry
-
- All Implemented Interfaces:
AutoCloseable
,Service
,Service.DirectoryService
,Service.ServiceFactory
public class TinkerServiceRegistry extends ServiceRegistry
TinkerGraph services are currently just "toy" services, used to demonstrate and to test.- Author:
- Mike Personick (http://github.com/mikepersonick)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TinkerServiceRegistry.LambdaBarrierService<I,R>
static class
TinkerServiceRegistry.LambdaServiceFactory<I,R>
static class
TinkerServiceRegistry.LambdaStartService<I,R>
static class
TinkerServiceRegistry.LambdaStreamingService<I,R>
static class
TinkerServiceRegistry.TinkerService<I,R>
static class
TinkerServiceRegistry.TinkerServiceFactory<I,R>
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.DirectoryService
Service.DirectoryService.Params
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.structure.service.ServiceRegistry
EMPTY
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.DirectoryService
NAME
-
-
Constructor Summary
Constructors Constructor Description TinkerServiceRegistry(TinkerGraph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <I,R>
TinkerServiceRegistry.LambdaServiceFactory<I,R>registerLambdaService(String name)
TinkerServiceRegistry.TinkerServiceFactory
registerService(TinkerServiceRegistry.TinkerServiceFactory service)
-
Methods inherited from class org.apache.tinkerpop.gremlin.structure.service.ServiceRegistry
checkRegisteredService, close, describe, execute, get, registerService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service
execute, execute, getMaxBarrierSize, getRequirements, isBarrier, isStart, isStreaming
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.DirectoryService
createService, describeParams, getName, getSupportedTypes, getType
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory
getRequirements, getRequirementsByType
-
-
-
-
Constructor Detail
-
TinkerServiceRegistry
public TinkerServiceRegistry(TinkerGraph graph)
-
-
Method Detail
-
registerService
public TinkerServiceRegistry.TinkerServiceFactory registerService(TinkerServiceRegistry.TinkerServiceFactory service)
-
registerLambdaService
public <I,R> TinkerServiceRegistry.LambdaServiceFactory<I,R> registerLambdaService(String name)
-
-