More deprecations and Javadoc excludes

This commit is contained in:
leventov
2015-05-27 11:49:59 +01:00
parent 638e85e79f
commit a29684ab97
4 changed files with 19 additions and 0 deletions
@@ -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;