1255125612571258125912601261126212631264
public MessageToByteEncoder getNettyCompressionEncoder() { switch (GiraphConstants.NETTY_COMPRESSION_ALGORITHM.get(this)) { case "SNAPPY": return new SnappyFramedEncoder(); case "INFLATE": return new JdkZlibEncoder(); default: return null; } }