@Test public void testMapPutAll() { IMap<String, String> map = Hazelcast.getMap("testMapPutAll"); Map<String, String> m = new HashMap<String, String>(); m.put("Hello", "World"); m.put("hazel", "cast"); map.putAll(m); assertEquals(2, map.size()); assertTrue(map.containsKey("Hello")); assertTrue(map.containsKey("hazel")); }
@Deprecated public static <K, V> IMap<K, V> getMap(String name) { return getDefaultInstance().getMap(name); }
Hazelcast { @Deprecated public static <K, V> IMap<K, V> getMap(String name) { return getDefaultInstance().getMap(name); } }
Hazelcast { @Deprecated public static <K, V> IMap<K, V> getMap(String name) { return getDefaultInstance().getMap(name); } private  Hazelcast(); }
Hazelcast { @Deprecated public static <K, V> IMap<K, V> getMap(String name) { return getDefaultInstance().getMap(name); } private  Hazelcast(); @Deprecated static HazelcastInstance init(Config config); @Deprecated static HazelcastInstance getDefaultInstance(); @Deprecated static IQueue<E> getQueue(String name); @Deprecated static ITopic<E> getTopic(String name); @Deprecated static ISet<E> getSet(String name); @Deprecated static IList<E> getList(String name); @Deprecated static IMap<K, V> getMap(String name); @Deprecated static MultiMap<K, V> getMultiMap(String name); @Deprecated static ILock getLock(Object key); @Deprecated static Cluster getCluster(); @Deprecated static ExecutorService getExecutorService(); @Deprecated static ExecutorService getExecutorService(String name); @Deprecated static Transaction getTransaction(); @Deprecated static AtomicNumber getAtomicNumber(String name); @Deprecated static ICountDownLatch getCountDownLatch(String name); @Deprecated static ISemaphore getSemaphore(String name); @Deprecated static IdGenerator getIdGenerator(String name); @Deprecated static void shutdown(); static void shutdownAll(); @Deprecated static void restart(); @Deprecated static Collection<Instance> getInstances(); @Deprecated static void addInstanceListener(InstanceListener instanceListener); @Deprecated static void removeInstanceListener(InstanceListener instanceListener); static HazelcastInstance newHazelcastInstance(Config config); static HazelcastInstance newHazelcastInstance(); static HazelcastInstance newLiteMemberHazelcastInstance(); static HazelcastInstance getHazelcastInstanceByName(String instanceName); static Set<HazelcastInstance> getAllHazelcastInstances(); @Deprecated static Config getConfig(); @Deprecated static PartitionService getPartitionService(); @Deprecated static LoggingService getLoggingService(); @Deprecated static LifecycleService getLifecycleService(); static void setOutOfMemoryHandler(OutOfMemoryHandler outOfMemoryHandler); }
Hazelcast { @Deprecated public static <K, V> IMap<K, V> getMap(String name) { return getDefaultInstance().getMap(name); } private  Hazelcast(); @Deprecated static HazelcastInstance init(Config config); @Deprecated static HazelcastInstance getDefaultInstance(); @Deprecated static IQueue<E> getQueue(String name); @Deprecated static ITopic<E> getTopic(String name); @Deprecated static ISet<E> getSet(String name); @Deprecated static IList<E> getList(String name); @Deprecated static IMap<K, V> getMap(String name); @Deprecated static MultiMap<K, V> getMultiMap(String name); @Deprecated static ILock getLock(Object key); @Deprecated static Cluster getCluster(); @Deprecated static ExecutorService getExecutorService(); @Deprecated static ExecutorService getExecutorService(String name); @Deprecated static Transaction getTransaction(); @Deprecated static AtomicNumber getAtomicNumber(String name); @Deprecated static ICountDownLatch getCountDownLatch(String name); @Deprecated static ISemaphore getSemaphore(String name); @Deprecated static IdGenerator getIdGenerator(String name); @Deprecated static void shutdown(); static void shutdownAll(); @Deprecated static void restart(); @Deprecated static Collection<Instance> getInstances(); @Deprecated static void addInstanceListener(InstanceListener instanceListener); @Deprecated static void removeInstanceListener(InstanceListener instanceListener); static HazelcastInstance newHazelcastInstance(Config config); static HazelcastInstance newHazelcastInstance(); static HazelcastInstance newLiteMemberHazelcastInstance(); static HazelcastInstance getHazelcastInstanceByName(String instanceName); static Set<HazelcastInstance> getAllHazelcastInstances(); @Deprecated static Config getConfig(); @Deprecated static PartitionService getPartitionService(); @Deprecated static LoggingService getLoggingService(); @Deprecated static LifecycleService getLifecycleService(); static void setOutOfMemoryHandler(OutOfMemoryHandler outOfMemoryHandler);  }