Java Code Examples for co.aikar.timings.Timings#of()
The following examples show how to use
co.aikar.timings.Timings#of() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VirtualChestTimings.java From VirtualChest with GNU Lesser General Public License v3.0 | 4 votes |
public static Timing updateAndRefreshMappings(String name) { return Timings.of(PLUGIN, "updateAndRefreshMappings - " + name); }
Example 2
Source File: VirtualChestTimings.java From VirtualChest with GNU Lesser General Public License v3.0 | 4 votes |
public static Timing updateAndRefreshMapping(String name, int i) { return Timings.of(PLUGIN, "updateAndRefreshMapping - " + VirtualChestInventory.slotIndexToKey(i) + " in " + name); }
Example 3
Source File: VirtualChestTimings.java From VirtualChest with GNU Lesser General Public License v3.0 | 4 votes |
public static Timing checkRequirements(String name, int i) { return Timings.of(PLUGIN, "checkRequirements - " + VirtualChestInventory.slotIndexToKey(i) + " in " + name); }
Example 4
Source File: VirtualChestTimings.java From VirtualChest with GNU Lesser General Public License v3.0 | 4 votes |
public static Timing setItemInInventory(String name, int i) { return Timings.of(PLUGIN, "setItemInInventory - " + VirtualChestInventory.slotIndexToKey(i) + " in " + name); }