クラス SynchronizedAttributeAccessor
java.lang.ObjectSE
org.springframework.batch.repeat.context.SynchronizedAttributeAccessor
- 実装されたすべてのインターフェース:
org.springframework.core.AttributeAccessor
- 既知の直属サブクラス
JobContext
、RepeatContextSupport
、StepContext
public class SynchronizedAttributeAccessor
extends ObjectSE
implements org.springframework.core.AttributeAccessor
基になる属性を変更またはアクセスする前に、ミューテックス(これではない)で同期する
AttributeAccessor
。- 作成者:
- Dave Syer
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明StringSE[]
boolean
getAttribute
(StringSE name) boolean
hasAttribute
(StringSE name) int
hashCode()
removeAttribute
(StringSE name) void
setAttribute
(StringSE name, ObjectSE value) setAttributeIfAbsent
(StringSE name, ObjectSE value) 存在しない場合、Atomic Put の追加サポート。toString()
クラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE
インターフェース org.springframework.core.AttributeAccessor から継承されたメソッド
computeAttribute
コンストラクターの詳細
SynchronizedAttributeAccessor
public SynchronizedAttributeAccessor()
メソッドの詳細
attributeNames
- 次で指定:
- インターフェース
org.springframework.core.AttributeAccessor
のattributeNames
equals
getAttribute
- 次で指定:
- インターフェース
org.springframework.core.AttributeAccessor
のgetAttribute
hasAttribute
- 次で指定:
- インターフェース
org.springframework.core.AttributeAccessor
のhasAttribute
hashCode
public int hashCode()removeAttribute
- 次で指定:
- インターフェース
org.springframework.core.AttributeAccessor
のremoveAttribute
setAttribute
- 次で指定:
- インターフェース
org.springframework.core.AttributeAccessor
のsetAttribute
setAttributeIfAbsent
存在しない場合、Atomic Put の追加サポート。- パラメーター:
name
- 属性名のキーvalue
- 属性の値- 戻り値:
- 属性がまだ設定されていない場合は null、それ以外の場合は既存の値。
toString