mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
More deprecations and Javadoc excludes
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
|
||||
package net.openhft.chronicle.hash.locks;
|
||||
|
||||
/**
|
||||
* @deprecated never implemented and replaced with strategies in
|
||||
* {@link net.openhft.chronicle.algo.locks}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface LockingStrategy {
|
||||
|
||||
void lock(InterProcessLock lock);
|
||||
|
||||
@@ -142,6 +142,11 @@ public interface ChronicleMap<K, V>
|
||||
*/
|
||||
V acquireUsing(@NotNull K key, V usingValue);
|
||||
|
||||
/**
|
||||
* @deprecated this method has incoherent, unclear semantics. Use {@link #queryContext(Object)}
|
||||
* instead
|
||||
*/
|
||||
@Deprecated
|
||||
@NotNull
|
||||
MapKeyContext<K, V> acquireContext(@NotNull K key, @NotNull V usingValue);
|
||||
|
||||
|
||||
@@ -1155,7 +1155,9 @@ public final class ChronicleMapBuilder<K, V> implements
|
||||
* @param defaultValueProvider the strategy to obtain a default value by the absent key
|
||||
* @return this builder object back
|
||||
* @see #defaultValue(Object)
|
||||
* @deprecated specialize {@link MapEntryOperations#defaultValue(MapAbsentEntry)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public ChronicleMapBuilder<K, V> defaultValueProvider(
|
||||
@NotNull DefaultValueProvider<K, V> defaultValueProvider) {
|
||||
this.defaultValueProvider = defaultValueProvider;
|
||||
|
||||
Reference in New Issue
Block a user