public class StringRedactorEngine extends Object
| Modifier and Type | Field and Description |
|---|---|
static Queue<Thread> |
backgroundThreads |
static LogRedactorMetrics |
DEFAULT_METRICS |
static long |
DEFAULT_REFRESH_INTERVAL_MILLIS |
static String |
DEFAULT_RULES_LOCATION |
static int |
DEFAULT_URL_READER_TIMEOUT_MILLIS |
LogRedactorMetrics |
metrics |
| Constructor and Description |
|---|
StringRedactorEngine(String rulesLocation,
long refreshInterval,
int timeOut,
LogRedactorMetrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeBackgroundThreads()
Function that closes background threads
Used only for testing
|
StringRedactor |
getRedactor()
Returns the current redactor
|
public static final long DEFAULT_REFRESH_INTERVAL_MILLIS
public static final int DEFAULT_URL_READER_TIMEOUT_MILLIS
public static final LogRedactorMetrics DEFAULT_METRICS
public static final String DEFAULT_RULES_LOCATION
public final LogRedactorMetrics metrics
public StringRedactorEngine(String rulesLocation, long refreshInterval, int timeOut, LogRedactorMetrics metrics)
public StringRedactor getRedactor()
public static void closeBackgroundThreads()
Copyright © 2022 Confluent, Inc.. All rights reserved.