The document discusses Clojure software transactional memory (STM). It explains that Clojure uses STM as an alternative to atoms, agents and vars for shared mutable state. STM provides ACID transactional guarantees and uses multi-version concurrency control. The document includes a diagram demonstrating two sample transactions operating on a shared reference with STM.
次世代インフラ基盤登場!Oracle Cloud IaaS 最新サービス・アップデート [Oracle Cloud Days Tokyo 2016]オラクルエンジニア通信
Oracle Cloud Days Tokyo 2016 (2016年10月開催)での講演資料です。
オラクルのIaaSは、包括的なサービス群、他社と比較した高いコスト競争力、他社には無いユニークなサービスを特徴としています。本セッションでは、インフラストラクチャー・サービス(IaaS)の最新情報をご紹介します。
また、クラウド型データマネジメントサービスを提供するトレジャーデータ様より、Oracle Cloudとの連携ソリューションについてお話いただきます。
The document discusses Clojure software transactional memory (STM). It explains that Clojure uses STM as an alternative to atoms, agents and vars for shared mutable state. STM provides ACID transactional guarantees and uses multi-version concurrency control. The document includes a diagram demonstrating two sample transactions operating on a shared reference with STM.
次世代インフラ基盤登場!Oracle Cloud IaaS 最新サービス・アップデート [Oracle Cloud Days Tokyo 2016]オラクルエンジニア通信
Oracle Cloud Days Tokyo 2016 (2016年10月開催)での講演資料です。
オラクルのIaaSは、包括的なサービス群、他社と比較した高いコスト競争力、他社には無いユニークなサービスを特徴としています。本セッションでは、インフラストラクチャー・サービス(IaaS)の最新情報をご紹介します。
また、クラウド型データマネジメントサービスを提供するトレジャーデータ様より、Oracle Cloudとの連携ソリューションについてお話いただきます。
This document discusses database tables for orders and items with fields for join order, order ID, item code, and grouping by item code to link order details to item info.
1. The equals method in Java compares object references using ==, while for String it compares character values using equals(). The getClass() and instanceof operators can be used to check the type of an object.
2. Polymorphism allows a parent class reference to refer to a child class object without knowing the exact type.
3. Java APIs like String, ArrayList, HashMap are commonly used generic collections that can store different object types.
The document provides tips on Java concurrency. It discusses using synchronized, volatile and java.util.concurrent classes like AtomicInteger for thread-safe operations on shared resources like account balances. Synchronized uses locks for mutual exclusion but volatile only ensures visibility, so atomic classes use Compare-And-Swap (CAS) operations for thread-safe updates without blocking.
The document discusses several design patterns including strategy, template method, factory method, command, state, null object, and dependency injection. It provides examples of how each pattern can be implemented in code by defining interfaces and classes that implement the pattern. The examples demonstrate how different design patterns address common programming problems by organizing code in a reusable and flexible manner.
This document provides code examples for interacting with the Google Cloud Datastore API including making queries, getting indices and schemas, and running asynchronous queries. It shows how to set up queries, call operations like count, get indices, get schema, add actions, and run queries asynchronously. It also mentions some lower level datastore concepts like entity groups.