Examples of forceEnd()


Examples of com.garbagemule.MobArena.framework.Arena.forceEnd()

            if (arena == null) continue;
           
            String arenaWorld = arena.getWorld().getName();
            if (!arenaWorld.equals(worldName)) continue;
           
            arena.forceEnd();
            arenas.remove(arena);
        }
    }

    // Load an already existing arena node
View Full Code Here

Examples of com.garbagemule.MobArena.framework.Arena.forceEnd()

    @Override
    public boolean reloadArena(String name) {
        Arena arena = getArenaWithName(name);
        if (arena == null) return false;

        arena.forceEnd();
        arenas.remove(arena);

        plugin.reloadConfig();
        config = plugin.getConfig();
View Full Code Here

Examples of com.garbagemule.MobArena.framework.Arena.forceEnd()

                Messenger.tell(sender, Msg.FORCE_END_EMPTY);
                return true;
            }
           
            // And end it!
            arena.forceEnd();
            Messenger.tell(sender, Msg.FORCE_END_ENDED);
            return true;
        }
       
        if (arg1.equals("start")) {
View Full Code Here

Examples of org.jtester.core.context.TransactionManager.forceEnd()

      return;
    }
    try {
      // 强行结束已经存在的事务, 如果有?
      TransactionManager transactionManager = clazzLocal.get();
      transactionManager.forceEnd();
    } catch (Throwable e) {
      e.printStackTrace();
      // do nothing
    }
    clazzLocal.remove();
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.