Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions java/plasma/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

# Java Plasma Client

This is deprecated since 10.0.0. This will be removed from 12.0.0 or so.

## Setup Build Environment

Install:
Expand Down
3 changes: 2 additions & 1 deletion java/plasma/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
</parent>
<artifactId>arrow-plasma</artifactId>
<name>Arrow Plasma Client</name>
<description>(Experimental/Contrib) Java client for the Plasma object store.</description>
<description>(DEPRECATED) Java client for the Plasma object store.
This is deprecated since 10.0.0. This will be removed from 12.0.0 or so.</description>
<build>
<plugins>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@

/**
* Object store interface, which provides the capabilities to put and get raw byte array, and serves.
*
* @deprecated Plasma is deprecated since 10.0.0. Plasma will not be released from Apache Arrow 12.0.0 or so.
*/
@Deprecated
public interface ObjectStoreLink {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
*
* <p>The PlasmaClient can ask the PlasmaStore to allocate a new buffer, seal a buffer, and get a
* buffer. Buffers are referred to by object IDs.
*
* @deprecated Plasma is deprecated since 10.0.0. Plasma will not be released from Apache Arrow 12.0.0 or so.
*/
@Deprecated
public class PlasmaClient implements ObjectStoreLink {

private final long conn;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@

/**
* JNI static methods for PlasmaClient.
*
* @deprecated Plasma is deprecated since 10.0.0. Plasma will not be released from Apache Arrow 12.0.0 or so.
*/
@Deprecated
public class PlasmaClientJNI {

public static native long connect(String storeSocketName, String managerSocketName, int releaseDelay);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@

/**
* Thrown when attempting to place an object into the store for an ID that already exists.
*
* @deprecated Plasma is deprecated since 10.0.0. Plasma will not be released from Apache Arrow 12.0.0 or so.
*/
@Deprecated
public class DuplicateObjectException extends RuntimeException {

public DuplicateObjectException(String objectId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@

/**
* Generic exception thrown by the plasma client (for example on failure to connect).
*
* @deprecated Plasma is deprecated since 10.0.0. Plasma will not be released from Apache Arrow 12.0.0 or so.
*/
@Deprecated
public class PlasmaClientException extends RuntimeException {

public PlasmaClientException(String message) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@

/**
* Indicates no more memory is available in Plasma.
*
* @deprecated Plasma is deprecated since 10.0.0. Plasma will not be released from Apache Arrow 12.0.0 or so.
*/
@Deprecated
public class PlasmaOutOfMemoryException extends RuntimeException {

public PlasmaOutOfMemoryException(String message) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
import org.apache.arrow.plasma.exceptions.PlasmaOutOfMemoryException;
import org.junit.Assert;

/*
* @Deprecated Plasma is deprecated since 10.0.0. Plasma will not be released from Apache Arrow 12.0.0 or so.
*/
@Deprecated
public class PlasmaClientTest {

private String storeSuffix = "/tmp/store";
Expand Down