public interface PrimitiveRegistry
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<PrimitiveInfo> |
createPrimitive(String name,
PrimitiveType type)
Creates a new distributed primitive.
|
PrimitiveInfo |
getPrimitive(String name)
Returns the info for a single primitive.
|
Collection<PrimitiveInfo> |
getPrimitives()
Returns a collection of open primitives.
|
Collection<PrimitiveInfo> |
getPrimitives(PrimitiveType primitiveType)
Returns a collection of open primitives of the given type.
|
CompletableFuture<PrimitiveInfo> createPrimitive(String name, PrimitiveType type)
name - the primitive nametype - the primitive typeCollection<PrimitiveInfo> getPrimitives()
Collection<PrimitiveInfo> getPrimitives(PrimitiveType primitiveType)
primitiveType - the primitive typePrimitiveInfo getPrimitive(String name)
name - the primitive nameCopyright © 2013–2018. All rights reserved.