public enum UpdateReturnState extends Enum<UpdateReturnState>
| Enum Constant and Description |
|---|
ConcurrentBufferInserted
Indicates that the value was inserted into the local concurrent buffer,
but has not yet been propagated to the concurrent shared sketch.
|
ConcurrentPropagated
Indicates that the value has been propagated to the concurrent shared sketch.
|
InsertedCountIncremented
Indicates that the value was accepted into the sketch and the retained count was incremented.
|
InsertedCountNotIncremented
Indicates that the value was accepted into the sketch and the retained count was not incremented.
|
RejectedDuplicate
Indicates that the value was rejected as a duplicate.
|
RejectedNullOrEmpty
Indicates that the value was rejected because it was null or empty.
|
RejectedOverTheta
Indicates that the value was rejected because the hash value was negative, zero or
greater than theta.
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateReturnState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateReturnState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateReturnState InsertedCountIncremented
public static final UpdateReturnState InsertedCountNotIncremented
public static final UpdateReturnState ConcurrentBufferInserted
public static final UpdateReturnState ConcurrentPropagated
public static final UpdateReturnState RejectedDuplicate
public static final UpdateReturnState RejectedNullOrEmpty
public static final UpdateReturnState RejectedOverTheta
public static UpdateReturnState[] values()
for (UpdateReturnState c : UpdateReturnState.values()) System.out.println(c);
public static UpdateReturnState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.