container/fault-tolerant-ra/impl/src/main/java/org/mobicents/slee/resource/cluster/ReplicatedDataImpl.java
public Set<K> getLocalKeyset() {
		Set<K> set = new HashSet<K>();
		ReplicatedDataKeyClusteredCacheData<K, V> handleCacheData = null;
		Address handleCacheDataClusterNode = null;
		for (K handle : cacheData.getAllKeys()) {
			handleCacheData = new ReplicatedDataKeyClusteredCacheData<K, V>(
					cacheData, handle, cluster);
			handleCacheDataClusterNode = handleCacheData
					.getClusterNodeAddress();
			if (handleCacheDataClusterNode == null
					|| handleCacheDataClusterNode.equals(cluster
							.getLocalAddress())) {
				set.add(handle);
			}
		}
		return Collections.unmodifiableSet(set);
	}
public Set<K> getLocalKeyset() {
		Set<K> set = new HashSet<K>();
		ReplicatedDataKeyClusteredCacheData<K, V> handleCacheData = null;
		Address handleCacheDataClusterNode = null;
		for (K handle : cacheData.getAllKeys()) {
			handleCacheData = new ReplicatedDataKeyClusteredCacheData<K, V>(
					cacheData, handle, cluster);
			handleCacheDataClusterNode = handleCacheData
					.getClusterNodeAddress();
			if (handleCacheDataClusterNode == null
					|| handleCacheDataClusterNode.equals(cluster
							.getLocalAddress())) {
				set.add(handle);
			}
		}
		return Collections.unmodifiableSet(set);
	}
public Set < K > getLocalKeyset ( ) { Set < K > set = new HashSet < K > ( ) ; ReplicatedDataKeyClusteredCacheData < K , V > handleCacheData = null ; Address handleCacheDataClusterNode = null ; for ( K handle : cacheData . getAllKeys ( ) ) { handleCacheData = new ReplicatedDataKeyClusteredCacheData < K , V > ( cacheData , handle , cluster ) ; handleCacheDataClusterNode = handleCacheData . getClusterNodeAddress ( ) ; if ( handleCacheDataClusterNode == null || handleCacheDataClusterNode . equals ( cluster . getLocalAddress ( ) ) ) { set . add ( handle ) ; } } return Collections . unmodifiableSet ( set ) ; }
/*
(non-Javadoc)
@see org.mobicents.slee.resource.cluster.ReplicatedData#getLocalKeyset()
/ * ( non - Javadoc )