Class ProgressContext
-
- All Implemented Interfaces:
public class ProgressContext- Since:
2021-03-15
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classProgressContext.Bar
-
Constructor Summary
Constructors Constructor Description ProgressContext()
-
Method Summary
Modifier and Type Method Description static ProgressContext.Barget(Object key)Get the progress bar by outside key and ttl second. static ProgressContext.Bargen(Object key, int second)Generate a progress bar by outside key and ttl second static ProgressContext.Bargen(Object key, long started, int second)Generate a progress bar by outside key, started time and ttl second static Stringkey(long started, int second)build an inside key by started time and ttl second -
-
Method Detail
-
get
@Nullable() static ProgressContext.Bar get(Object key)
Get the progress bar by outside key and ttl second.
-
gen
@NotNull() static ProgressContext.Bar gen(Object key, int second)
Generate a progress bar by outside key and ttl second
-
gen
@NotNull() static ProgressContext.Bar gen(Object key, long started, int second)
Generate a progress bar by outside key, started time and ttl second
-
-
-
-