protected void integrateTransientState(ObjectInputStream in, NodeSPI target) throws Exception { boolean transientSet = false; try { if (log.isTraceEnabled()) { log.trace("integrating transient state for " + target); } integrateTransientState(target, in); transientSet = true; if (log.isTraceEnabled()) { log.trace("transient state successfully integrated"); } notifyAllNodesCreated(cache.getInvocationContext(), target); } catch (Exception e) { throw new CacheException(e); } finally { if (!transientSet) { target.clearDataDirect(); target.removeChildrenDirect(); } } }
@Stop(priority = 100) public void stop() { started = false; // empty in-memory state if (root != null) { root.clearDataDirect(); root.removeChildrenDirect(); } else if (rootInternal != null) { rootInternal.clear(); rootInternal.removeChildren(); } }
n.removeChildrenDirect(); return true;
node.removeChildrenDirect();//getChildrenMapDirect().clear();
private void integrateTransientState(NodeSPI target, ObjectInputStream in) throws Exception target.removeChildrenDirect();