|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotThreadSafe public interface Destination
Interface used internally as the destination for the requests. This is used to abstract whether the requests should be submitted immediately or in a single batch.
Method Summary | |
---|---|
void |
create(Path path,
List<Property> properties)
Create a node at the supplied path and with the supplied attributes. |
void |
create(Path path,
Property firstProperty,
Property... additionalProperties)
Create a node at the supplied path and with the supplied attributes. |
ExecutionContext |
getExecutionContext()
Obtain the execution context of the destination. |
void |
setProperties(Path path,
Property... properties)
Sets the given properties on the node at the supplied path. |
void |
submit()
Signal to this destination that any enqueued create requests should be submitted. |
Method Detail |
---|
ExecutionContext getExecutionContext()
void create(Path path, List<Property> properties)
path
- the absolute path of the nodeproperties
- the properties for the node; never null, but may be empty if there are no propertiesvoid create(Path path, Property firstProperty, Property... additionalProperties)
path
- the absolute path of the nodefirstProperty
- the first propertyadditionalProperties
- the remaining properties for the nodevoid setProperties(Path path, Property... properties)
path
- the absolute path of the nodeproperties
- the remaining properties for the nodevoid submit()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |