Examples of DeleteObject


Examples of com.basho.riak.client.operations.DeleteObject

     * (non-Javadoc)
     *
     * @see com.basho.riak.newapi.bucket.Bucket#delete(java.lang.String)
     */
    public DeleteObject delete(String key) {
        return new DeleteObject(client, name, key, retrier);
    }
View Full Code Here

Examples of com.basho.riak.client.operations.DeleteObject

    public <T> DeleteObject delete(T o) {
        final String key = getKey(o);
        if (key == null) {
            throw new NoKeySpecifedException(o);
        }
        return new DeleteObject(client, name, key, retrier);
    }
View Full Code Here

Examples of com.basho.riak.client.operations.DeleteObject

     * (non-Javadoc)
     *
     * @see com.basho.riak.newapi.bucket.Bucket#delete(java.lang.String)
     */
    public DeleteObject delete(String key) {
        return new DeleteObject(client, name, key, retrier);
    }
View Full Code Here

Examples of com.basho.riak.client.operations.DeleteObject

    public <T> DeleteObject delete(T o) {
        final String key = getKey(o);
        if (key == null) {
            throw new NoKeySpecifedException(o);
        }
        return new DeleteObject(client, name, key, retrier);
    }
View Full Code Here

Examples of com.basho.riak.client.operations.DeleteObject

     * (non-Javadoc)
     *
     * @see com.basho.riak.newapi.bucket.Bucket#delete(java.lang.String)
     */
    public DeleteObject delete(String key) {
        return new DeleteObject(client, name, key, retrier);
    }
View Full Code Here

Examples of com.basho.riak.client.operations.DeleteObject

     * @param key
     * @return
     * @throws RiakException
     */
    public void delete(String key) throws RiakException {
        final DeleteObject delete = bucket.delete(key).withRetrier(retrier);

        if (deleteMeta.hasR()) {
            delete.r(deleteMeta.getR());
        }

        if (deleteMeta.hasPr()) {
            delete.pr(deleteMeta.getPr());
        }

        if (deleteMeta.hasW()) {
            delete.w(deleteMeta.getW());
        }

        if (deleteMeta.hasDw()) {
            delete.dw(deleteMeta.getDw());
        }

        if (deleteMeta.hasPw()) {
            delete.pw(deleteMeta.getPw());
        }
        delete.fetchBeforeDelete(deleteMeta.hasVclock());
        delete.execute();
    }
View Full Code Here

Examples of com.l2client.network.game.ServerPackets.DeleteObject

        break;
      case 0x07:
//        pa = new BuyList();
        break;
      case 0x08:
        pa = new DeleteObject();
        break;
      case 0x0b:
        pa = new CharSelected();
        break;
      case 0x0c:
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.DeleteObject

    {
      makeAnnouncement(SystemMessageId.MONSRACE_FIRST_PLACE_S1_SECOND_S2);
      makeAnnouncement(SystemMessageId.MONSRACE_RACE_END);
      _raceNumber++;

      DeleteObject obj = null;
      for(int i = 0; i < 8; i++)
      {
        obj = new DeleteObject(MonsterRace.getInstance().getMonsters()[i]);
        broadcast(obj);
      }
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.DeleteObject

      return false;

    if(object instanceof L2PcInstance)
    {
      //System.out.println("Sending delete monsrac info.");
      DeleteObject obj = null;
      for(int i = 0; i < 8; i++)
      {
        obj = new DeleteObject(MonsterRace.getInstance().getMonsters()[i]);
        ((L2PcInstance) object).sendPacket(obj);
      }

      obj = null;
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.DeleteObject

    { // GM has to receive remove however because he can see any invisible or inobservermode player
   
      if (!object_char.getAppearance().getInvisible() && !object_char.inObserverMode())
      {
        // Send Server-Client Packet DeleteObject to the L2PcInstance
        active_char.sendPacket(new DeleteObject(object));
      }
      else if (object_char.isGM() && object_char.getAppearance().getInvisible() && !object_char.isTeleporting())
      {
        // Send Server-Client Packet DeleteObject to the L2PcInstance
        active_char.sendPacket(new DeleteObject(object));
      }
    }
    else
    { // All other objects has to be removed
   
      // Send Server-Client Packet DeleteObject to the L2PcInstance
      active_char.sendPacket(new DeleteObject(object));
    }
   
    if (Config.CHECK_KNOWN && object instanceof L2NpcInstance)
    {
      active_char.sendMessage("Removed NPC: " + ((L2NpcInstance) object).getName());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.