com.github.cowwoc.tokenbucket.internal.SharedSecrets Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of token-bucket Show documentation
Show all versions of token-bucket Show documentation
A Java implementation of the Token Bucket algorithm
The newest version!
package com.github.cowwoc.tokenbucket.internal;
/**
* A mechanism for calling package-private methods in another package without using reflection.
*
* @see https://stackoverflow.com/a/46723089/14731
*/
public final class SharedSecrets
{
/**
* The singleton instance.
*/
public static final SharedSecrets INSTANCE = new SharedSecrets();
public ContainerSecrets containerSecrets;
/**
* Prevent construction.
*/
private SharedSecrets()
{
}
}