org.fiolino.common.reflection.Resettable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
General structure to easily create dynamic logic via MethodHandles and others.
package org.fiolino.common.reflection;
/**
* A registry is used to construct registry handles for a certain target handle.
*
* Created by kuli on 08.03.17.
*/
public interface Resettable {
/**
* Clears all cached data for this registry.
*
* Later calls will be handled as if they were the first ones.
*
* If some concurrent thread is calling my registry currently, then the behaviour is undefined: Usually no a
*/
void reset();
}