Open Gitter Chat

Scala for Hazelcast

About Scala for Hazelcast

With the Scala Client for Hazelcast, the fastest open source caching solution is now available to Scala applications. Elastically scale Scala caching. Hazelcast is an excellent Redis alternative when scaling and speed are of importance.

The Hazelcast-Scala API is based on Scala 2.11 and Hazelcast 3.6, but does not define them as hard dependencies, so make sure to also include the relevant Hazelcast dependencies.

See this blog post on getting started with Hazelcast and Scala: Introducing Hazelcast Scala API with Aggregations

Quick Start

import com.hazelcast.config._
import com.hazelcast.Scala._

val conf = new Config
serialization.Defaults.register(conf.getSerializationConfig)
val hz = conf.newInstance()

Download

Support

Questions or comments about this client? Jump into the discussion on Stack Overflow or the Google Group. Commercial support is also available.

Features Implemented for this Language

Feature Java Member 3.6 Java Client 3.6.3 .NET Client 3.7 C++ Client 3.6.3 Python Client 3.7.1 Node.js Client 0.5.0 Scala Client Binding 3.6.0 Scala Member Binding 3.6.0
Feature Java Member 3.6 Java Client 3.6.3 .NET Client 3.7 C++ Client 3.6.3 Python Client 3.7.1 Node.js Client 0.5.0 Scala Client Binding 3.6.0 Scala Member Binding 3.6.0
Feature: Authorization Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Map Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: (No Async) Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Queue Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Set Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: List Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: MultiMap Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Replicated Map Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Topic Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: MapReduce Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Lock Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Condition Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Semaphore Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: AtomicLong Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: AtomicReference Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: IdGenerator Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: CountDownLatch Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: TxnMap Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: TxnMultiMap Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: TxnQueue Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: TxnList Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: TxnSet Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: JCache/ICache Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Ring Buffer Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Reliable Topic Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Client Configuration Import Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Hazelcast Client Protocol Java Member 3.6: N/A Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0: N/A
Feature: Fail Fast on Invalid Configuration Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Sub-Listener Interfaces for Map Listener Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Continuous Query Caching Java Member 3.6: EE Only Java Client 3.6.3: EE Only .NET Client 3.7: N/A C++ Client 3.6.3: N/A Python Client 3.7.1: N/A Node.js Client 0.5.0: N/A Scala Client Binding 3.6.0: EE Only Scala Member Binding 3.6.0: EE Only
Feature: Listener with Predicate Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Entry Process with Predicate support Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: (executeOnEntries) Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Distributed Executor Service Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Query (Predicates) Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Paging predicates Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Support Built-in Predicates as defined in Java client Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Near Cache Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: HeartBeat Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: XML Config Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: API Config Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: SSL Support Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: XA Transactions Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Smart Client Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Dummy Client Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Lifecycle Service Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Event Listeners Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: DataSerializable Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: N/A C++ Client 3.6.3: N/A Python Client 3.7.1: N/A Node.js Client 0.5.0: N/A Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: IdentifiedDataSerializable Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Portable Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Custom Serializers Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:
Feature: Global Serializers Java Member 3.6: Java Client 3.6.3: .NET Client 3.7: C++ Client 3.6.3: Python Client 3.7.1: Node.js Client 0.5.0: Scala Client Binding 3.6.0: Scala Member Binding 3.6.0:

Hazelcast.org

Main Menu