}
public Cube getCube(String cubeName) throws HblException {
Map<String, Cube> map, update;
map = cubeCache.get();
Cube cube = map == null ? null : map.get(cubeName);
// TTL check
if (cube != null && (cube instanceof SimpleCube)) {
SimpleCube scube = (SimpleCube) cube;
if (System.currentTimeMillis() - scube.getTimestamp() >= cubeCacheTTL) {