Tabnine Logo
FabricServiceImpl.start
Code IndexAdd Tabnine to your IDE (free)

How to use
start
method
in
com.dremio.services.fabric.FabricServiceImpl

Best Java code snippets using com.dremio.services.fabric.FabricServiceImpl.start (Showing top 2 results out of 315)

origin: dremio/dremio-oss

@Before
public void setupServer() throws Exception{
 allocator = new RootAllocator(20 * 1024 * 1024);
 pool = new CloseableThreadPool("test-fabric");
 fabric = new FabricServiceImpl(address, 45678, true, THREAD_COUNT, allocator, RESERVATION,
   MAX_ALLOCATION, TIMEOUT, pool);
 fabric.start();
}
origin: dremio/dremio-oss

public ServiceHolder(BufferAllocator allocator, Provider<Iterable<NodeEndpoint>> nodeProvider, PDFSMode mode, String name) throws Exception{
 this.allocator = allocator.newChildAllocator(name, 0, Long.MAX_VALUE);
 pool = new CloseableThreadPool(name);
 fabric = new FabricServiceImpl(HOSTNAME, 9970, true, THREAD_COUNT, this.allocator, RESERVATION,
   MAX_ALLOCATION, TIMEOUT, pool);
 fabric.start();
 endpoint = NodeEndpoint.newBuilder()
   .setAddress(fabric.getAddress()).setFabricPort(fabric.getPort())
   .setRoles(Roles.newBuilder().setJavaExecutor(mode == PDFSMode.DATA))
   .build();
 service = new PDFSService(DirectProvider.wrap((FabricService) fabric), DirectProvider.wrap(endpoint), nodeProvider, DremioTest.DEFAULT_SABOT_CONFIG, this.allocator, mode);
 service.start();
 fileSystem = service.createFileSystem();
}
com.dremio.services.fabricFabricServiceImplstart

Popular methods of FabricServiceImpl

  • <init>
  • getAddress
  • getPort
  • getAllocator
  • getEventLoop
  • getHandler
  • getRegistry
  • getRpcConfig
  • getSSLEngineFactory
  • newFabricServer
  • registerProtocol
  • registerProtocol

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • setContentView (Activity)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now