public class TimedCachePreventRepeat extends Object implements PreventRepeat
VALUE| 构造器和说明 |
|---|
TimedCachePreventRepeat(long timeout)
Constructor a timed cache prevent repeat with the timeout
|
public TimedCachePreventRepeat(long timeout)
timeout - This timeout of the submit keypublic String getAndSet(String key)
PreventRepeatgetAndSet 在接口中 PreventRepeatkey - the submit keypublic void remove(String key)
PreventRepeatremove 在接口中 PreventRepeatkey - the submit keyCopyright © 2019. All rights reserved.