@@ -44,13 +44,6 @@ public interface IOEndpoint {
4444 * @return whether the endpoint takes a session
4545 */
4646 boolean allowsSession ();
47- /**
48- * Identifies whether the endpoint accepts a data structure that defines
49- * the unit of work to be done by the endpoint.
50- * @return whether the endpoint takes a work unit
51- */
52- @ Deprecated
53- boolean allowsWorkUnit ();
5447 /**
5548 * Identifies whether the endpoint accepts a data structure that defines
5649 * constant input to provide to the endpoint.
@@ -75,64 +68,6 @@ public interface IOEndpoint {
7568 * Base interface providing the methods common to all bulk endpoint callers.
7669 */
7770 interface BulkIOEndpointCaller {
78- /**
79- * Gets the current snapshot of the mutable endpoint state.
80- * Provide a CallContext when constructing the bulk caller instead of using this deprecated method.
81- * @return the data structure with the endpoint state
82- */
83- @ Deprecated
84- InputStream getEndpointState ();
85- /**
86- * Initializes the endpoint state, typically prior to the first call.
87- * Provide a CallContext when constructing the bulk caller instead of using this deprecated method.
88- * @param endpointState the data structure for the endpoint state as a byte[] array
89- */
90- @ Deprecated
91- void setEndpointState (byte [] endpointState );
92- /**
93- * Initializes the endpoint state, typically prior to the first call.
94- * Provide a CallContext when constructing the bulk caller instead of using this deprecated method.
95- * @param endpointState the data structure for the endpoint state as an InputStream
96- */
97- @ Deprecated
98- void setEndpointState (InputStream endpointState );
99- /**
100- * Initializes the endpoint state, typically prior to the first call.
101- * Provide a CallContext when constructing the bulk caller instead of using this deprecated method.
102- * @param endpointState the data structure for the endpoint state as a bufferable handle
103- */
104- @ Deprecated
105- void setEndpointState (BufferableHandle endpointState );
106-
107- /**
108- * Gets the definition for the unit of work to be done by the endpoint.
109- * Provide a CallContext with endpoint constants when constructing the bulk caller instead of using this deprecated method.
110- * @return the data structure for the unit of work
111- */
112- @ Deprecated
113- InputStream getWorkUnit ();
114- /**
115- * Initializes the definition of the work unit prior to the first call.
116- * Provide a CallContext with endpoint constants when constructing the bulk caller instead of using this deprecated method.
117- * @param workUnit the data structure for the work unit as a byte[] array
118- */
119- @ Deprecated
120- void setWorkUnit (byte [] workUnit );
121- /**
122- * Initializes the definition of the work unit prior to the first call.
123- * Provide a CallContext with endpoint constants when constructing the bulk caller instead of using this deprecated method.
124- * @param workUnit the data structure for the work unit as an InputStream
125- */
126- @ Deprecated
127- void setWorkUnit (InputStream workUnit );
128- /**
129- * Initializes the definition of the work unit prior to the first call.
130- * Provide a CallContext with endpoint constants when constructing the bulk caller instead of using this deprecated method.
131- * @param workUnit the data structure for the work unit as a bufferable handle
132- */
133- @ Deprecated
134- void setWorkUnit (BufferableHandle workUnit );
135-
13671 /**
13772 * Waits for the bulk calling to complete, first starting the calls if appropriate.
13873 */
0 commit comments