Package org.apache.bookkeeper.processor
Interface RequestProcessor
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BookieRequestProcessor
public interface RequestProcessor extends java.lang.AutoCloseable
A request processor that is used for processing requests at bookie side.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Close the request processor.void
processRequest(java.lang.Object r, BookieRequestHandler channel)
Process request.
-
-
-
Method Detail
-
close
void close()
Close the request processor.- Specified by:
close
in interfacejava.lang.AutoCloseable
-
processRequest
void processRequest(java.lang.Object r, BookieRequestHandler channel)
Process request.- Parameters:
r
- request to processchannel
- channel received the given request r
-
-