@ThreadSafe public static final class ChildReferences.NoSnsIndexesContext extends Object implements ChildReferences.Context
ChildReferences.Context
implementation that has no changes and that always returns '1' for the SNS index.Constructor and Description |
---|
NoSnsIndexesContext() |
Modifier and Type | Method and Description |
---|---|
ChildReferences.Changes |
changes()
Get the set of changes for this context.
|
int |
consume(Name name,
NodeKey key)
Consume the next child with the supplied name and key.
|
public int consume(Name name, NodeKey key)
ChildReferences.Context
consume
in interface ChildReferences.Context
name
- the name of the node; may not be nullkey
- the key for the node; may not be nullpublic ChildReferences.Changes changes()
ChildReferences.Context
changes
in interface ChildReferences.Context
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.