クラス 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[]booleangetAttribute(StringSE name) booleanhasAttribute(StringSE name) inthashCode()removeAttribute(StringSE name) voidsetAttribute(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