Java Code Examples for io.netty.handler.codec.serialization.ClassResolvers#cacheDisabled()

The following examples show how to use io.netty.handler.codec.serialization.ClassResolvers#cacheDisabled() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ArchiveDecoder.java    From jumbune with GNU Lesser General Public License v3.0 4 votes vote down vote up
public ArchiveDecoder(int maxObjectSize, String receiveDirectory){
	super(maxObjectSize, ClassResolvers.cacheDisabled(null));
	this.receiveDirectory = receiveDirectory;		
}
 
Example 2
Source File: LogFilesDecoder.java    From jumbune with GNU Lesser General Public License v3.0 4 votes vote down vote up
public LogFilesDecoder(int maxObjectSize, String receiveDirectory){
	super(maxObjectSize, ClassResolvers.cacheDisabled(null));
	this.receiveDirectory = receiveDirectory;		
}
 
Example 3
Source File: ArchiveDecoder.java    From jumbune with GNU Lesser General Public License v3.0 2 votes vote down vote up
/**
 * Instantiates a new archive decoder.
 *
 * @param receiveDirectory the receive directory
 */
public ArchiveDecoder(String receiveDirectory) {
	super(104857600, ClassResolvers.cacheDisabled(null));
	this.receiveDirectory = receiveDirectory;
}
 
Example 4
Source File: LogFilesDecoder.java    From jumbune with GNU Lesser General Public License v3.0 2 votes vote down vote up
/**
 * Instantiates a new log files decoder.
 *
 * @param receiveDirectory the receive directory
 */
public LogFilesDecoder(String receiveDirectory) {
	super(314572800, ClassResolvers.cacheDisabled(null));
	this.receiveDirectory = receiveDirectory;
}