nfsclient

NFS Client for Java - provides read/write access to data on NFS servers. The current implementation supports only NFS version 3.

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

com.emc.ecs
Идентификатор

Идентификатор

nfsclient
Последняя версия

Последняя версия

1.0.0-rc.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

nfsclient
NFS Client for Java - provides read/write access to data on NFS servers. The current implementation supports only NFS version 3.
Ссылка на сайт

Ссылка на сайт

https://community.emc.com/community/products/vipr#developer
Система контроля версий

Система контроля версий

https://github.com/EMCECS/nfs-client-java

Скачать nfsclient

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.emc.ecs/nfsclient/ -->
<dependency>
    <groupId>com.emc.ecs</groupId>
    <artifactId>nfsclient</artifactId>
    <version>1.0.0-rc.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.emc.ecs/nfsclient/
implementation 'com.emc.ecs:nfsclient:1.0.0-rc.1'
// https://jarcasting.com/artifacts/com.emc.ecs/nfsclient/
implementation ("com.emc.ecs:nfsclient:1.0.0-rc.1")
'com.emc.ecs:nfsclient:jar:1.0.0-rc.1'
<dependency org="com.emc.ecs" name="nfsclient" rev="1.0.0-rc.1">
  <artifact name="nfsclient" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.emc.ecs', module='nfsclient', version='1.0.0-rc.1')
)
libraryDependencies += "com.emc.ecs" % "nfsclient" % "1.0.0-rc.1"
[com.emc.ecs/nfsclient "1.0.0-rc.1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
commons-lang : commons-lang jar 2.6
org.jboss.netty : netty jar 3.2.8.Final
org.slf4j : slf4j-api jar 1.7.5

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.slf4j : slf4j-simple jar 1.7.5

Модули Проекта

Данный проект не имеет модулей.

EMC NFS Java Client

Description

This project is an NFS Java client, with some extra abstraction to allow extensions to handle other NFS versions (it currently handles only NFS v3). The package com.emc.ecs.nfsclient.nfs has generic classes and interfaces, while com.emc.ecs.nfsclient.nfs.nfs3 has the NFS Version 3 implementation based on RFC 1813 (https://tools.ietf.org/html/rfc1813). For full details on the semantics of these calls and the allowed parameter values, please consult the RFC.

The project also includes NFS equivalents to java.io.File and related functionality. The classes for this, both the generic and the NFS3-specific versions, are in the package com.emc.ecs.nfsclient.nfs.io.

Installation

You can download the library as a Maven dependency from Maven Central Repository:

<dependency>
    <groupId>com.emc.ecs</groupId>
    <artifactId>nfs-client</artifactId>
    <version>1.0.3</version>
</dependency>

You can also use it as a Gradle dependency:

compile group: 'com.emc.ecs', name: 'nfs-client', version: '1.0.3'

How to build the client

To build and fully test this code, you will need to set up an NFS export that can be used for unit testing, and add the parameters for this export to test.properties. The test client will need read/write access to this share. If you do not do this, you can still build the client, but most of the JUnit tests will be skipped.

How to import into eclipse and IDEA

To import the code into eclipse or IDEA, you will need to create a gradle.properties file in the folder ~/.gradle. This file will need to define the following values.

# path to Java 6 jre/lib (if installed)
#java6Lib=
java7Lib=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib
# set these if you plan on publishing. note: you will be prompted for passwords if necessary
sonatypeUsername=
githubUsername=
gitUsername=
# Located on the signing server. KeyId can be found using gpg --list-keys
signingKeyId=
signingSecretKeyRingFile=

How to use the bare client

The Nfs client instances provide both direct and lightly wrapped access to all NFS functionality. Working examples for how to instantiate an Nfs3 client and how to exercise most NFS functionality are available in the JUnit tests. Test_Nfs3.java

How to use the NfsFile instances

The NfsFile instances provide file-based access to NFS functionality, including caching of repeatedly used data to minimize the number of remote calls. Working examples for how to instantiate Nfs3File instances and how to exercise most NfsFile functionality are available in the JUnit tests. Test_Nfs3File.java.

How to use the NfsFileInputStream and NfsFileOutputStream instances

The NfsFileInputStream and NfsFileOutputStream instances provide easy access to NFS IO functionality, and include optimizations of buffer sizes. Working examples for how to instantiate NfsFileInputStream and NfsFileOutputStream instances and how to exercise most NFS IO functionality are available in the JUnit tests. Test_Streams.java.

How to use the tools jar

The tools jar currently contains only functionality for load testing NFS client IO functionality, as this is the most likely bottleneck. Working examples of how to exercise this code are available in the tools jar JUnit tests. Test_LoadTest.java.

com.emc.ecs

Dell EMC ECS

Cloud Scale Object Storage

Версии библиотеки

Версия
1.0.0-rc.1