本文整理了Java中com.hazelcast.core.MultiMap.getName()
方法的一些代码示例,展示了MultiMap.getName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MultiMap.getName()
方法的具体详情如下:
包路径:com.hazelcast.core.MultiMap
类名称:MultiMap
方法名:getName
暂无
代码示例来源:origin: com.thinkaurelius.titan/titan-hazelcast
@Override
public String getName() {
return cache.getName();
}
代码示例来源:origin: hazelcast/hazelcast-jet
/**
* A helper method to build a KeyValueSource implementation based on the specified {@link MultiMap}
*
* @param multiMap multiMap to build a KeyValueSource implementation
* @param <K> key type of the multiMap
* @param <V> value type of the multiMap
* @return KeyValueSource implementation based on the specified multiMap
*/
public static <K, V> KeyValueSource<K, V> fromMultiMap(MultiMap<? super K, ? extends V> multiMap) {
return new MultiMapKeyValueSource<K, V>(multiMap.getName());
}
代码示例来源:origin: com.hazelcast/hazelcast-all
/**
* A helper method to build a KeyValueSource implementation based on the specified {@link MultiMap}
*
* @param multiMap multiMap to build a KeyValueSource implementation
* @param <K> key type of the multiMap
* @param <V> value type of the multiMap
* @return KeyValueSource implementation based on the specified multiMap
*/
public static <K, V> KeyValueSource<K, V> fromMultiMap(MultiMap<? super K, ? extends V> multiMap) {
return new MultiMapKeyValueSource<K, V>(multiMap.getName());
}
代码示例来源:origin: hazelcast/hazelcast-jet
@ManagedAnnotation("name")
public String getName() {
return managedObject.getName();
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@ManagedAnnotation("name")
public String getName() {
return managedObject.getName();
}
代码示例来源:origin: hazelcast/hazelcast-jet
protected MultiMapMBean(final MultiMap managedObject, ManagementService service) {
super(managedObject, service);
this.objectName = service.createObjectName("MultiMap", managedObject.getName());
StatsSupplier<LocalMultiMapStats> localMultiMapStatsSupplier = new LocalMultiMapStatsSupplier(managedObject);
this.localMultiMapStatsDelegate
= new LocalStatsDelegate<LocalMultiMapStats>(localMultiMapStatsSupplier, updateIntervalSec);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
protected MultiMapMBean(final MultiMap managedObject, ManagementService service) {
super(managedObject, service);
this.objectName = service.createObjectName("MultiMap", managedObject.getName());
StatsSupplier<LocalMultiMapStats> localMultiMapStatsSupplier = new LocalMultiMapStatsSupplier(managedObject);
this.localMultiMapStatsDelegate
= new LocalStatsDelegate<LocalMultiMapStats>(localMultiMapStatsSupplier, updateIntervalSec);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@ManagedAnnotation("config")
@ManagedDescription("MultiMapConfig")
public String getConfig() {
return service.instance.getConfig().findMultiMapConfig(managedObject.getName()).toString();
}
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@ManagedAnnotation("config")
@ManagedDescription("MultiMapConfig")
public String getConfig() {
return service.instance.getConfig().findMultiMapConfig(managedObject.getName()).toString();
}
}
内容来源于网络,如有侵权,请联系作者删除!