mirror of https://github.com/apache/cassandra
update Thrift server comment
This commit is contained in:
parent
d0fae0999b
commit
2f31bde61e
|
|
@ -335,7 +335,7 @@ rpc_port: 9160
|
|||
# enable or disable keepalive on rpc connections
|
||||
rpc_keepalive: true
|
||||
|
||||
# Cassandra provides three out-of-the-box options for the RPC Server:
|
||||
# Cassandra provides two out-of-the-box options for the RPC Server:
|
||||
#
|
||||
# sync -> One thread per thrift connection. For a very large number of clients, memory
|
||||
# will be your limiting factor. On a 64 bit JVM, 180KB is the minimum stack size
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import org.slf4j.LoggerFactory;
|
|||
import org.apache.thrift.server.TServer;
|
||||
|
||||
/**
|
||||
* Helper implementation to create a thrift TServer based on one of the common types we support (sync, async, hsha),
|
||||
* Helper implementation to create a thrift TServer based on one of the common types we support (sync, hsha),
|
||||
* or a custom type by setting the fully qualified java class name in the rpc_server_type setting.
|
||||
*/
|
||||
public class TServerCustomFactory implements TServerFactory
|
||||
|
|
|
|||
Loading…
Reference in New Issue