Lines Matching refs:lvmid
151 * indicated Java virtual machine. The <code>lvmid</code> parameter is
156 * If the <code>lvmid</code> identifies a Java virtual machine different
166 * If the <code>lvmid</code> is 0 or equal to the actual <code>lvmid</code>
185 * @param lvmid an integer that uniquely identifies the
189 * @throws IllegalArgumentException The lvmid or mode was invalid.
196 public ByteBuffer attach(int lvmid, String mode)
200 return attachImpl(null, lvmid, PERF_MODE_RO);
203 return attachImpl(null, lvmid, PERF_MODE_RW);
214 * This method behaves just as the <code>attach(int lvmid, String mode)
221 * @param lvmid an integer that uniquely identifies the
225 * @throws IllegalArgumentException The lvmid or mode was invalid.
232 public ByteBuffer attach(String user, int lvmid, String mode)
236 return attachImpl(user, lvmid, PERF_MODE_RO);
239 return attachImpl(user, lvmid, PERF_MODE_RW);
257 * @param lvmid an integer that uniquely identifies the
261 * @throws IllegalArgumentException The lvmid or mode was invalid.
267 private ByteBuffer attachImpl(String user, int lvmid, int mode)
270 final ByteBuffer b = attach(user, lvmid, mode);
272 if (lvmid == 0) {
316 * @param lvmid an integer that uniquely identifies the
320 * @throws IllegalArgumentException The lvmid or mode was invalid.
326 private native ByteBuffer attach(String user, int lvmid, int mode)
341 * by the <code>attach</code> method with a lvmid for the Java virtual
342 * machine running this method (lvmid=0, for example), then the detach