-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to new style guidelines. (#739)
- Loading branch information
Showing
10 changed files
with
619 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 16 additions & 3 deletions
19
runtime/src/main/java/org/corfudb/runtime/clients/ClientHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,29 @@ | ||
package org.corfudb.runtime.clients; | ||
|
||
import org.corfudb.protocols.wireprotocol.CorfuMsgType; | ||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Inherited; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
import java.lang.annotation.*; | ||
import org.corfudb.protocols.wireprotocol.CorfuMsgType; | ||
|
||
/** | ||
* Created by mwei on 8/9/16. | ||
* Registers the method with the annotation as a client response | ||
* handler and invokes on reception of message response. | ||
* | ||
* <p>Created by mwei on 8/9/16. | ||
*/ | ||
|
||
@Target(ElementType.METHOD) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Inherited | ||
public @interface ClientHandler { | ||
|
||
/** | ||
* Type of CorfuMsg | ||
* | ||
* @return Returns the type of the corfu message. | ||
*/ | ||
CorfuMsgType type(); | ||
} |
Oops, something went wrong.