@InterfaceAudience.Private class CompletedProcedureRetainer<TEnvironment> extends Object
Modifier and Type | Field and Description |
---|---|
private long |
clientAckTime |
private Procedure<TEnvironment> |
procedure |
Constructor and Description |
---|
CompletedProcedureRetainer(Procedure<TEnvironment> procedure) |
Modifier and Type | Method and Description |
---|---|
long |
getClientAckTime() |
Procedure<TEnvironment> |
getProcedure() |
boolean |
hasClientAckTime() |
boolean |
isExpired(long now,
long evictTtl,
long evictAckTtl) |
void |
setClientAckTime(long clientAckTime) |
private final Procedure<TEnvironment> procedure
private long clientAckTime
public CompletedProcedureRetainer(Procedure<TEnvironment> procedure)
public Procedure<TEnvironment> getProcedure()
public boolean hasClientAckTime()
public long getClientAckTime()
public void setClientAckTime(long clientAckTime)
public boolean isExpired(long now, long evictTtl, long evictAckTtl)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.