@Override public void clear() { // If there is at least one MMap DA then do not apply the cleanHack // for every single mmap DA as this is very slow if lots of DataAccess objects were collected // => forceClean == false MMapDataAccess mmapDA = null; for (DataAccess da : map.values()) { if (da instanceof MMapDataAccess) mmapDA = (MMapDataAccess) da; removeDA(da, da.getName(), false); } if (mmapDA != null) cleanHack(); map.clear(); }
@Override public synchronized String getName() { return inner.getName(); }
@Override public synchronized String getName() { return inner.getName(); }
@Override public void clear() { // If there is at least one MMap DA then do not apply the cleanHack // for every single mmap DA as this is very slow if lots of DataAccess objects were collected // => forceClean == false MMapDataAccess mmapDA = null; for (DataAccess da : map.values()) { if (da instanceof MMapDataAccess) mmapDA = (MMapDataAccess) da; removeDA(da, da.getName(), false); } if (mmapDA != null) cleanHack(); map.clear(); }
@Override public void clear() { // If there is at least one MMap DA then do not apply the cleanHack // for every single mmap DA as this is very slow if lots of DataAccess objects were collected // => forceClean == false MMapDataAccess mmapDA = null; for (DataAccess da : map.values()) { if (da instanceof MMapDataAccess) mmapDA = (MMapDataAccess) da; removeDA(da, da.getName(), false); } if (mmapDA != null) Helper.cleanHack(); map.clear(); }
@Override public void clear() { // If there is at least one MMap DA then do not apply the cleanHack // for every single mmap DA as this is very slow if lots of DataAccess objects were collected // => forceClean == false MMapDataAccess mmapDA = null; for (DataAccess da : map.values()) { if (da instanceof MMapDataAccess) mmapDA = (MMapDataAccess) da; removeDA(da, da.getName(), false); } if (mmapDA != null) Helper.cleanHack(); map.clear(); }