public synchronized void addDatastoreQueryCompilation(String datastore, String language, String query, Object compilation)
{
if (cache != null)
{
String queryKey = language + ":" + query;
CachedQuery cachedQuery = cache.get(queryKey);
if (cachedQuery != null)
{
cachedQuery.addDatastoreCompilation(datastore, compilation);
}
}
}