クラス 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