public LogSession . Builder sessionBuilder ( ) { return new DistributedLogSession . Builder ( ) { @ Override public LogSession build ( ) { return new DistributedLogSession ( partitionId , sessionIdProvider . get ( ) . join ( ) , clusterMembershipService , protocol , primaryElection , threadContextFactory . createContext ( ) ) ; } } ; }
Returns a new distributed log session builder .