이 콘텐츠는 선택한 언어로 제공되지 않습니다.
12.4.2. JdbcBinaryCacheStores
12.4.2.1. About JdbcBinaryCacheStore 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
The
JdbcBinaryCacheStore
supports all key types. It stores all keys with the same hash value (hashCode
method on the key) in the same table row/blob. The hash value common to the included keys is set as the primary key for the table row/blob. As a result of this hash value, JdbcBinaryCacheStore
offers excellent flexibility but at the cost of concurrency and throughput.
As an example, if three keys (
k1
, k2
and k3
) have the same hash code, they are stored in the same table row. If three different threads attempt to concurrently update k1
, k2
and k3
, they must do it sequentially because all three keys share the same row and therefore cannot be simultaneously updated.