Java 类com.hazelcast.core.MapEvent 实例源码

项目:beyondj    文件:HazelcastDestinationDiscoveryRequestListener.java   
@Override
public void mapCleared(MapEvent mapEvent) {
    if (mapEvent == null) {
        throw new RuntimeException("Received a null message. Something is wrong");
    }

    for (DestinationDiscoveryCallback callback : callBacks) {
        callback.destinationMapCleared(mapEvent);
    }
}
项目:beyondj    文件:HazelcastDestinationDiscoveryRequestListener.java   
@Override
public void mapEvicted(MapEvent mapEvent) {
    if (mapEvent == null) {
        throw new RuntimeException("Received a null message. Something is wrong");
    }

    for (DestinationDiscoveryCallback callback : callBacks) {
        callback.destinationMapEvicted(mapEvent);
    }
}
项目:spike.x    文件:HzEventListener.java   
@Override
public void mapCleared(final MapEvent event) {
    m_logger.debug("Member: {} {} - cleared entries: {}",
            event.getMember().getSocketAddress(),
            event.getMember().getUuid(),
            event.getNumberOfEntriesAffected());
}
项目:spike.x    文件:HzEventListener.java   
@Override
public void mapEvicted(final MapEvent event) {
    m_logger.debug("Member: {} {} - evicted entries: {}",
            event.getMember().getSocketAddress(),
            event.getMember().getUuid(),
            event.getNumberOfEntriesAffected());
}
项目:ravikumaran201504    文件:AbstractHazelcastStore.java   
@Override
public void mapCleared(MapEvent event) {
    if (localMember.equals(event.getMember())) {
        // ignore locally triggered event
        return;
    }
    cache.invalidateAll();
}
项目:Openfire    文件:CacheListener.java   
private void handleMapEvent(MapEvent event) {
    NodeID nodeID = NodeID.getInstance(StringUtils.getBytes(event.getMember().getUuid()));
    // ignore events which were triggered by this node
    if (!XMPPServer.getInstance().getNodeID().equals(nodeID)) {
        Set<String> sessionJIDs = clusterListener.lookupJIDList(nodeID, cacheName);
        sessionJIDs.clear();
    }
}
项目:Openfire    文件:ClusterListener.java   
private void mapClearedOrEvicted(MapEvent event) {
    NodeID nodeID = NodeID.getInstance(StringUtils.getBytes(event.getMember().getUuid()));
    // ignore events which were triggered by this node
    if (!XMPPServer.getInstance().getNodeID().equals(nodeID)) {
        nodePresences.get(nodeID).clear();
    }
}
项目:Openfire    文件:ClusterListener.java   
private void mapClearedOrEvicted(MapEvent event) {
    NodeID nodeID = NodeID.getInstance(StringUtils.getBytes(event.getMember().getUuid()));
    // ignore events which were triggered by this node
    if (!XMPPServer.getInstance().getNodeID().equals(nodeID)) {
        Set<String> sessionJIDs = lookupJIDList(nodeID, componentsCache.getName());
        sessionJIDs.clear();
    }
}
项目:Openfire    文件:ClusterListener.java   
private void handleMapEvent(MapEvent event) {
    NodeID nodeID = NodeID.getInstance(StringUtils.getBytes(event.getMember().getUuid()));
    // ignore events which were triggered by this node
    if (!XMPPServer.getInstance().getNodeID().equals(nodeID)) {
        Set<DomainPair> sessionJIDS = nodeRoutes.get(nodeID);
        if (sessionJIDS != null) {
            sessionJIDS.clear();
        }
    }
}
项目:Camel    文件:CamelMapListener.java   
@Override
public void mapCleared(MapEvent event) {
    // noop
}
项目:Camel    文件:CamelMapListener.java   
@Override
public void mapEvicted(MapEvent event) {
    // noop
}
项目:Camel    文件:CamelEntryListener.java   
public void mapEvicted(MapEvent mapEvent) {
    // noop
}
项目:Camel    文件:CamelEntryListener.java   
public void mapCleared(MapEvent mapEvent) {
    // noop
}
项目:hybridbpm    文件:BpmEventListener.java   
@Override
public void mapEvicted(MapEvent me) {
}
项目:hybridbpm    文件:BpmEventListener.java   
@Override
public void mapCleared(MapEvent me) {
}
项目:ravikumaran201504    文件:SMap.java   
@Override
public void mapEvicted(MapEvent event) {
    listener.mapEvicted(event);
}
项目:ravikumaran201504    文件:SMap.java   
@Override
public void mapCleared(MapEvent event) {
    listener.mapCleared(event);
}
项目:ravikumaran201504    文件:DistributedMastershipStore.java   
@Override
public void mapEvicted(MapEvent event) {
}
项目:ravikumaran201504    文件:DistributedMastershipStore.java   
@Override
public void mapCleared(MapEvent event) {
}
项目:ravikumaran201504    文件:DistributedApplicationIdStore.java   
@Override
public void mapEvicted(MapEvent event) {
}
项目:ravikumaran201504    文件:DistributedApplicationIdStore.java   
@Override
public void mapCleared(MapEvent event) {
}
项目:microservices-sample    文件:MapEntryListener.java   
@Override
public void mapEvicted(MapEvent event) {
    System.out.printf("map evicted - Name:%s, Source:%s, Member:%s%n", event.getName(), event.getSource(), event.getMember());
}
项目:age3-nanorobots    文件:HazelcastDiscoveryService.java   
@Override public void mapEvicted(final MapEvent event) {
    log.debug("NeighbourMapListener map evict event: {}.", event);
}
项目:age3-nanorobots    文件:HazelcastDiscoveryService.java   
@Override public void mapCleared(final MapEvent event) {
    log.debug("NeighbourMapListener map clear event: {}.", event);
}
项目:bagri    文件:EntityManagement.java   
@Override
public void mapEvicted(MapEvent event) {
    logger.trace("mapEvicted; event: {}", event);
    // make entity inactive ?
}
项目:bagri    文件:EntityManagement.java   
@Override
public void mapCleared(MapEvent event) {
    logger.trace("mapCleared; event: {}", event);
    // shouldn't be this! delete all roles?
}
项目:bagri    文件:ClientManagementImpl.java   
@Override
public void mapCleared(MapEvent event) {
    // do nothing
}
项目:bagri    文件:ClientManagementImpl.java   
@Override
public void mapEvicted(MapEvent event) {
    // do nothing
}
项目:bagri    文件:PopulationManagementImpl.java   
@Override
public void mapEvicted(MapEvent event) {
    logger.trace("mapEvicted; event: {}", event);
}
项目:bagri    文件:PopulationManagementImpl.java   
@Override
public void mapCleared(MapEvent event) {
    logger.trace("mapCleared; event: {}", event);
}
项目:bagri    文件:ModelManagementImpl.java   
@Override
public void mapEvicted(MapEvent event) {
    // don't think we have to clear everything in this case
}
项目:bagri    文件:ModelManagementImpl.java   
@Override
public void mapCleared(MapEvent event) {
    cachePath.clear();
    cacheType.clear();
}
项目:Openfire    文件:CacheListener.java   
@Override
public void mapCleared(MapEvent event) {
    handleMapEvent(event);
}
项目:Openfire    文件:CacheListener.java   
@Override
public void mapEvicted(MapEvent event) {
    handleMapEvent(event);
}
项目:Openfire    文件:ClusterListener.java   
@Override
public void mapEvicted(MapEvent event) {
    mapClearedOrEvicted(event);
}
项目:Openfire    文件:ClusterListener.java   
@Override
public void mapCleared(MapEvent event) {
    mapClearedOrEvicted(event);
}
项目:Openfire    文件:ClusterListener.java   
@Override
public void mapEvicted(MapEvent event) {
    mapClearedOrEvicted(event);
}
项目:Openfire    文件:ClusterListener.java   
@Override
public void mapCleared(MapEvent event) {
    mapClearedOrEvicted(event);
}
项目:Openfire    文件:ClusterListener.java   
@Override
public void mapCleared(MapEvent event) {
    handleMapEvent(event);
}
项目:Openfire    文件:ClusterListener.java   
@Override
public void mapEvicted(MapEvent event) {
    handleMapEvent(event);
}