@Test public void getFileDescriptorCount() { assertFileDescriptorService(NOT_SUPPORTED, true); assertFileDescriptorService(1, false); assertFileDescriptorService(MINIMUM_FILE_DESCRIPTOR_COUNT - 1, false); assertFileDescriptorService(MINIMUM_FILE_DESCRIPTOR_COUNT, true); assertFileDescriptorService(MINIMUM_FILE_DESCRIPTOR_COUNT + 1, true); }
@Override public long getFileDescriptorCount() { return fileDescriptorCount; }
FileDescriptorServiceImpl extends StateGuardLifecycleSupport implements FileDescriptorService { @Override public long getFileDescriptorCount() { return fileDescriptorCount; } }
FileDescriptorServiceImpl extends StateGuardLifecycleSupport implements FileDescriptorService { @Override public long getFileDescriptorCount() { return fileDescriptorCount; } @Inject  FileDescriptorServiceImpl(@Nullable final FileDescriptorProvider fileDescriptorProvider); }
FileDescriptorServiceImpl extends StateGuardLifecycleSupport implements FileDescriptorService { @Override public long getFileDescriptorCount() { return fileDescriptorCount; } @Inject  FileDescriptorServiceImpl(@Nullable final FileDescriptorProvider fileDescriptorProvider); @Override void doStart(); @Override boolean isFileDescriptorLimitOk(); @Override long getFileDescriptorCount(); @Override long getFileDescriptorRecommended(); }
FileDescriptorServiceImpl extends StateGuardLifecycleSupport implements FileDescriptorService { @Override public long getFileDescriptorCount() { return fileDescriptorCount; } @Inject  FileDescriptorServiceImpl(@Nullable final FileDescriptorProvider fileDescriptorProvider); @Override void doStart(); @Override boolean isFileDescriptorLimitOk(); @Override long getFileDescriptorCount(); @Override long getFileDescriptorRecommended();  }