com.rubecula.darwin.domain.helper
Class Realm_
java.lang.Object
com.rubecula.darwin.domain.helper.Realm_
- All Implemented Interfaces:
- HasPhenotypeCache, Realm
- Direct Known Subclasses:
- Realm_Wallacian
public abstract class Realm_
- extends java.lang.Object
- implements Realm
Base implementation of Realm
.
- Author:
- Robin Hillyard
Field Summary |
protected static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.commons.logging.Log LOG
Realm_
protected Realm_()
- Protected constructor.
Realm_
protected Realm_(PhenotypeCache phenotypeCache,
FitnessCache fitnessCache)
- Protected constructor.
- Parameters:
phenotypeCache
- fitnessCache
-
flushCaches
public void flushCaches()
- Specified by:
flushCaches
in interface Realm
- See Also:
Realm.flushCaches()
getFitnessCache
public FitnessCache getFitnessCache()
- Specified by:
getFitnessCache
in interface Realm
- Returns:
- the fitness cache for this realm.
- See Also:
Realm.getFitnessCache()
getPhenotypeCache
public PhenotypeCache getPhenotypeCache()
- Specified by:
getPhenotypeCache
in interface HasPhenotypeCache
- Returns:
- the cache for phenotypes
- See Also:
HasPhenotypeCache.getPhenotypeCache()
setFitnessCacheActive
public void setFitnessCacheActive(boolean active)
- Parameters:
active
-
setPhenotypeCacheActive
public void setPhenotypeCacheActive(boolean active)
- Parameters:
active
-
Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.