Class LinkActor


  • @Queue
    public class LinkActor
    extends Object
    Author:
    Lang
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkActor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.vertx.core.Future<io.vertx.core.json.JsonObject> addNewB​(io.vertx.core.json.JsonObject data)  
      io.vertx.core.Future<io.vertx.core.json.JsonObject> addNewV​(io.vertx.core.json.JsonObject data)  
      io.vertx.core.Future<io.vertx.core.json.JsonArray> batchSaveB​(io.vertx.core.json.JsonArray data)  
      io.vertx.core.Future<io.vertx.core.json.JsonArray> batchSaveV​(io.vertx.core.json.JsonArray data)  
      io.vertx.core.Future<io.vertx.core.json.JsonObject> byKey​(String key)  
      io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchBy​(String type, io.vertx.up.commune.config.XHeader header)  
      io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchSource​(String key)  
      io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchSt​(String key)  
      io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchTarget​(String key)  
      io.vertx.core.Future<Boolean> removeKey​(String key, io.vertx.up.commune.config.XHeader header)  
      io.vertx.core.Future<io.vertx.core.json.JsonArray> syncB​(io.vertx.core.json.JsonObject request)  
    • Constructor Detail

      • LinkActor

        public LinkActor()
    • Method Detail

      • fetchBy

        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/BY/TYPE")
        public io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchBy​(String type,
                                                                          io.vertx.up.commune.config.XHeader header)
      • fetchTarget

        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/TARGET/FETCH")
        public io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchTarget​(String key)
      • fetchSource

        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/SOURCE/FETCH")
        public io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchSource​(String key)
      • fetchSt

        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/T-S/FETCH")
        public io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchSt​(String key)
      • batchSaveB

        @Me
        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/BATCH/SAVING-B")
        public io.vertx.core.Future<io.vertx.core.json.JsonArray> batchSaveB​(io.vertx.core.json.JsonArray data)
      • batchSaveV

        @Me
        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/BATCH/SAVING-V")
        public io.vertx.core.Future<io.vertx.core.json.JsonArray> batchSaveV​(io.vertx.core.json.JsonArray data)
      • addNewB

        @Me
        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/ADD/NEW-B")
        public io.vertx.core.Future<io.vertx.core.json.JsonObject> addNewB​(io.vertx.core.json.JsonObject data)
      • addNewV

        @Me
        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/ADD/NEW-V")
        public io.vertx.core.Future<io.vertx.core.json.JsonObject> addNewV​(io.vertx.core.json.JsonObject data)
      • syncB

        @Me
        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/SYNC-B")
        public io.vertx.core.Future<io.vertx.core.json.JsonArray> syncB​(io.vertx.core.json.JsonObject request)
      • byKey

        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/KEY/FETCH")
        public io.vertx.core.Future<io.vertx.core.json.JsonObject> byKey​(String key)
      • removeKey

        @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-LINKAGE/REGION/REMOVE")
        public io.vertx.core.Future<Boolean> removeKey​(String key,
                                                       io.vertx.up.commune.config.XHeader header)