aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/processing/request/properties/PublicCloneable.java
blob: 9855aab16a6c84e332594a4ea0c5bcb7c7c9e42b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.processing.request.properties;

/**
 * This interface publicly exposes the clone method.
 * Classes which are used in request properties may implement this to allow faster cloning of the request.
 *
 * @author bratseth
 * @since  5.66
 * @deprecated Use com.yahoo.lang.PublicCloneable instead
 */
@Deprecated(forRemoval = true) // TODO: Remove on Vespa 9
public interface PublicCloneable<T> extends Cloneable {

    T clone();

}