org.commonjava.tensor.data.idx
Class ParentOfIndex

java.lang.Object
  extended by org.commonjava.tensor.data.idx.ParentOfIndex
All Implemented Interfaces:
Index<org.apache.maven.graph.common.ref.ProjectVersionRef,org.apache.maven.graph.effective.rel.ParentRelationship>

@ApplicationScoped
@Named(value="tensorIdx-parent-of")
public class ParentOfIndex
extends Object
implements Index<org.apache.maven.graph.common.ref.ProjectVersionRef,org.apache.maven.graph.effective.rel.ParentRelationship>


Field Summary
static String PARENT_OF_INDEX_NAME
           
 
Constructor Summary
ParentOfIndex()
           
ParentOfIndex(IndexStore<org.apache.maven.graph.common.ref.ProjectVersionRef,org.apache.maven.graph.effective.rel.ParentRelationship> cache)
           
 
Method Summary
 void clear()
           
 org.apache.maven.graph.effective.rel.ParentRelationship get(org.apache.maven.graph.common.ref.ProjectVersionRef query)
           
 void injectCache()
           
 boolean update(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARENT_OF_INDEX_NAME

public static final String PARENT_OF_INDEX_NAME
See Also:
Constant Field Values
Constructor Detail

ParentOfIndex

public ParentOfIndex()

ParentOfIndex

public ParentOfIndex(IndexStore<org.apache.maven.graph.common.ref.ProjectVersionRef,org.apache.maven.graph.effective.rel.ParentRelationship> cache)
Method Detail

injectCache

@PostConstruct
public void injectCache()

update

public boolean update(Object value)
               throws TensorDataException
Specified by:
update in interface Index<org.apache.maven.graph.common.ref.ProjectVersionRef,org.apache.maven.graph.effective.rel.ParentRelationship>
Throws:
TensorDataException

get

public org.apache.maven.graph.effective.rel.ParentRelationship get(org.apache.maven.graph.common.ref.ProjectVersionRef query)
                                                            throws TensorDataException
Specified by:
get in interface Index<org.apache.maven.graph.common.ref.ProjectVersionRef,org.apache.maven.graph.effective.rel.ParentRelationship>
Throws:
TensorDataException

clear

public void clear()
           throws TensorDataException
Specified by:
clear in interface Index<org.apache.maven.graph.common.ref.ProjectVersionRef,org.apache.maven.graph.effective.rel.ParentRelationship>
Throws:
TensorDataException


Copyright © 2013. All Rights Reserved.