Package redis.embedded.core
Interface ExecutableProvider
public interface ExecutableProvider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionget()
static ExecutableProvider
newCachedUrlProvider
(Path cachedLocation, URI uri) static ExecutableProvider
static ExecutableProvider
newEnvironmentVariableProvider
(String envName) static ExecutableProvider
newExecutableInPath
(String executableName) static ExecutableProvider
newFileThenJarResourceProvider
(Map<OsArchitecture, String> executables) static ExecutableProvider
static ExecutableProvider
newJarResourceProvider
(File tempDirectory) static ExecutableProvider
newJarResourceProvider
(Map<OsArchitecture, String> executables) static ExecutableProvider
newJarResourceProvider
(IOSupplier<File> tempDirectorySupplier) static ExecutableProvider
newJarResourceProvider
(IOSupplier<File> tempDirectory, Map<OsArchitecture, String> executables) static Map<OsArchitecture,
String> static ExecutableProvider
static ExecutableProvider
newSystemPropertyProvider
(String propertyName)
-
Field Details
-
ENVIRONMENT_EXECUTABLE_LOCATION
- See Also:
-
PROPERTY_EXECUTABLE_LOCATION
- See Also:
-
REDIS_7_2_MACOSX_14_SONOMA_HANKCP
-
REDIS_7_2_LINUX_JAMMY_X86_64
-
REDIS_7_2_LINUX_JAMMY_ARM_64
-
-
Method Details
-
get
- Throws:
IOException
-
newJarResourceProvider
-
newJarResourceProvider
-
newJarResourceProvider
-
newJarResourceProvider
-
newJarResourceProvider
static ExecutableProvider newJarResourceProvider(IOSupplier<File> tempDirectory, Map<OsArchitecture, String> executables) -
newFileThenJarResourceProvider
-
newEnvironmentVariableProvider
-
newEnvironmentVariableProvider
-
newSystemPropertyProvider
-
newSystemPropertyProvider
-
newExecutableInPath
- Throws:
FileNotFoundException
-
newCachedUrlProvider
-
newProvidedVersionsMap
-