Interface ConcurrentMetadataStore
- All Superinterfaces:
- MetadataStore
- All Known Subinterfaces:
- ListenableMetadataStore
- All Known Implementing Classes:
- HazelcastMetadataStore,- JdbcMetadataStore,- MongoDbMetadataStore,- PropertiesPersistingMetadataStore,- RedisMetadataStore,- SimpleMetadataStore,- ZookeeperMetadataStore
Supports atomic updates to values in the store.
- Since:
- 4.0
- Author:
- Gary Russell
- 
Method SummaryMethods inherited from interface org.springframework.integration.metadata.MetadataStoreget, put, remove
- 
Method Details- 
putIfAbsentAtomically insert the key into the store.- Parameters:
- key- The key.
- value- The value.
- Returns:
- null if successful, the old value otherwise.
 
- 
replaceAtomically replace the value for the key in the store if the old value matches the oldValue argument.- Parameters:
- key- The key.
- oldValue- The old value.
- newValue- The new value.
- Returns:
- true if successful.
 
 
-