package lodVader;

import lodVader.bloomfilters.GoogleBloomFilter;
import lodVader.mongodb.collections.DistributionDB;
import lodVader.mongodb.collections.gridFS.ObjectsBucket;
import lodVader.mongodb.collections.gridFS.SubjectsBucket;
import lodVader.mongodb.collections.gridFS.SuperBucket;
import lodVader.utils.Timer;

public class LoadedBloomFiltersCache extends Thread{
	
	SuperBucket s;
	
	public DistributionDB distribution;
	
	String query;
	
	public boolean found;
	
	// get all namespaces described in LODVader
	public static GoogleBloomFilter describedSubjectsNS = null;
	public static GoogleBloomFilter describedObjectsNS = null;
	
	// size of the bloom filters
	public static int describedSubjectsNSCurrentSize = 0;
	public static int describedObjectsNSCurrentSize = 0;
	
	
	public LoadedBloomFiltersCache(DistributionDB distribution, String query, String type) {
		
		if(type.equals(LODVaderProperties.TYPE_PROPERTY))
			s = new SubjectsBucket();
		else
			s = new ObjectsBucket();	
		this.query = query;
		this.distribution = distribution;
	}
	
	@Override
	public void run() {
		s.resource=query;
		if (s.query(distribution.getLODVaderID()))
			found= true;
	}
	
}

@@ -918,16 +918,15 @@
 YPE_
-PROPERTY
+SUBJECT
 ))%0A%09

Update LoadedBloomFiltersCache.java