public class NoopCommand extends Object implements Command
Constructor and Description |
---|
NoopCommand()
Trivial ctor to support Writable reflections instantiation
do not expect to use this object as-is, unless you call
readFields after using this ctor
|
NoopCommand(long eventId) |
Modifier and Type | Method and Description |
---|---|
List<String> |
cleanupLocationsAfterEvent() |
List<String> |
cleanupLocationsPerRetry() |
List<String> |
get() |
long |
getEventId() |
List<String> |
getUndo() |
boolean |
isRetriable() |
boolean |
isUndoable() |
void |
readFields(DataInput dataInput) |
void |
write(DataOutput dataOutput) |
public NoopCommand()
public NoopCommand(long eventId)
public boolean isRetriable()
isRetriable
in interface Command
public boolean isUndoable()
isUndoable
in interface Command
public List<String> cleanupLocationsPerRetry()
cleanupLocationsPerRetry
in interface Command
public List<String> cleanupLocationsAfterEvent()
cleanupLocationsAfterEvent
in interface Command
public long getEventId()
getEventId
in interface Command
public void write(DataOutput dataOutput) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput dataInput) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.