com.metamatrix.dqp.service.metadata
Class QueryMetadataCache.QueryMetadataInterfaceHolder

java.lang.Object
  extended by com.metamatrix.dqp.service.metadata.QueryMetadataCache.QueryMetadataInterfaceHolder
Enclosing class:
QueryMetadataCache

protected class QueryMetadataCache.QueryMetadataInterfaceHolder
extends java.lang.Object

There a QMI holder per vdb, the holder shields metadata lookups by differrent thereads for differrent vdbs from having to wait for metadata being loaded for a single vdb. If there are 2 threads for 2 vdbs, each thread can have their own instance of the holder and load their own metadata without having to wait for other thread to finish.

Since:
4.2

Constructor Summary
protected QueryMetadataCache.QueryMetadataInterfaceHolder(VDBKey vdbId, java.lang.String vdbName)
           
 
Method Summary
protected  QueryMetadataInterface getQueryMetadataInteface()
           
protected  QueryMetadataInterface getQueryMetadataInteface(byte[] vdbContent)
           
protected  QueryMetadataInterface getQueryMetadataInteface(java.io.InputStream vdbContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryMetadataCache.QueryMetadataInterfaceHolder

protected QueryMetadataCache.QueryMetadataInterfaceHolder(VDBKey vdbId,
                                                          java.lang.String vdbName)
Method Detail

getQueryMetadataInteface

protected QueryMetadataInterface getQueryMetadataInteface()

getQueryMetadataInteface

protected QueryMetadataInterface getQueryMetadataInteface(byte[] vdbContent)
                                                   throws MetaMatrixComponentException
Throws:
MetaMatrixComponentException

getQueryMetadataInteface

protected QueryMetadataInterface getQueryMetadataInteface(java.io.InputStream vdbContent)
                                                   throws MetaMatrixComponentException
Throws:
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.