setNew(false);
}
}
private void acquireSessionOwnership() throws TimeoutException {
SessionOwnershipSupport support = this.distributedCacheManager.getSessionOwnershipSupport();
if (support != null) {
try {
this.ownershipLock.lockInterruptibly();
try {
if (support.acquireSessionOwnership(this.realId, needNewLock()) == SessionOwnershipSupport.LockResult.ACQUIRED_FROM_CLUSTER) {
IncomingDistributableSessionData data = this.distributedCacheManager.getSessionData(this.realId, false);
if (data != null) {
// We may be out of date re: the distributed cache
update(data);
}