[
https://issues.apache.org/jira/browse/HDDS-4474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17448341#comment-17448341
]
GuoHao edited comment on HDDS-4474 at 11/24/21, 3:46 AM:
---------------------------------------------------------
That's not flexible. I want to be polymorphic.
Is that any better?
{code:java}
package org.apache.hadoop.ozone.container.common.transport.server.ratis;
import org.apache.ratis.proto.RaftProtos;
import org.apache.ratis.statemachine.StateMachine;
import java.io.IOException;
public interface LocalDataChannel extends StateMachine.DataChannel {
default void link(RaftProtos.LogEntryProto entry) throws IOException {}
}
{code}
was (Author: nicholas niu):
That's not flexible. I want to be polymorphic.
Is that any better?
{code:java}
public interface LocalDataChannel extends StateMachine.DataChannel {
default void link(RaftProtos.LogEntryProto entry) throws IOException {}
}
{code}
> Use WriteSmallFile to write small file.
> ---------------------------------------
>
> Key: HDDS-4474
> URL: https://issues.apache.org/jira/browse/HDDS-4474
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: runzhiwang
> Assignee: GuoHao
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2021-11-22-19-40-34-715.png
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]