public class ClosureCleaner extends Object
Constructor and Description |
---|
ClosureCleaner() |
Modifier and Type | Method and Description |
---|---|
static void |
clean(Object func,
boolean checkSerializable) |
static long |
copyStream(InputStream in,
OutputStream out,
boolean closeStreams)
Copy all data from an InputStream to an OutputStream
|
static void |
ensureSerializable(Object func) |
static org.slf4j.Logger |
LOG() |
public static org.slf4j.Logger LOG()
public static void clean(Object func, boolean checkSerializable)
public static void ensureSerializable(Object func)
public static long copyStream(InputStream in, OutputStream out, boolean closeStreams)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.