public interface SingletonAccessor<T>
Modifier and Type | Method and Description |
---|---|
T |
get()
Retrieves the current value.
|
void |
set(T newValue)
Sets the new value.
|
@Nullable T get() throws IOException
IOException
- if an exception happens while retrieving the value.void set(@Nonnull T newValue) throws IOException
newValue
- the new value to set.IOException
- if an exception happens while setting the value.Copyright © 2020. All Rights Reserved.