public class ClosureCleaner
extends Object
Constructor and Description |
---|
ClosureCleaner() |
Modifier and Type | Method and Description |
---|---|
static void |
clean(Object closure,
boolean checkSerializable,
boolean cleanTransitively)
Clean the given closure in place.
|
static void |
org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) |
static org.slf4j.Logger |
org$apache$spark$internal$Logging$$log_() |
public static void clean(Object closure, boolean checkSerializable, boolean cleanTransitively)
More specifically, this renders the given closure serializable as long as it does not explicitly reference unserializable objects.
closure
- the closure to cleancheckSerializable
- whether to verify that the closure is serializable after cleaningcleanTransitively
- whether to clean enclosing closures transitivelypublic static org.slf4j.Logger org$apache$spark$internal$Logging$$log_()
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1)