Searched defs:group (Results 1 - 25 of 127) sorted by relevance

123456

/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DGroupable.java30 * asynchronous channel group.
34 AsynchronousChannelGroupImpl group(); method in interface:Groupable
H A DMembershipRegistry.java41 // map multicast group to keys
48 * Checks registry for membership of the group on the given
51 MembershipKey checkMembership(InetAddress group, NetworkInterface interf, argument
55 List<MembershipKeyImpl> keys = groups.get(group);
84 InetAddress group = key.group();
90 keys = groups.get(group);
94 groups.put(group, keys);
103 InetAddress group = key.group();
[all...]
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DAsExecutor.java28 * Test that arbitrary tasks can be submitted to a channel group's thread pool.
61 static void testSimpleTask(AsynchronousChannelGroup group) throws Exception { argument
62 Executor executor = (Executor)group;
72 static void testAttackingTask(AsynchronousChannelGroup group) throws Exception { argument
73 Executor executor = (Executor)group;
H A DRestart.java47 // thread group for thread pools
67 // group with fixed thread pool
69 AsynchronousChannelGroup group =
71 testRestart(group, 100);
72 group.shutdown();
74 // group with custom thread pool
76 group = AsynchronousChannelGroup.withCachedThreadPool(pool, rand.nextInt(5));
77 testRestart(group, 100);
78 group.shutdown();
87 static void testRestart(AsynchronousChannelGroup group, in argument
[all...]
/openjdk7/jdk/test/java/rmi/activation/Activatable/checkImplClassLoader/
H A DCheckImplClassLoader.java56 private static ActivationGroup group = null; field in class:CheckImplClassLoader
82 System.err.println("Create activation group in this VM");
87 group = ActivationGroup.createGroup(groupID, groupDesc, 0);
116 TestLibrary.unexport(group);
/openjdk7/jdk/src/share/sample/nio/multicast/
H A DMulticastAddress.java51 private final InetAddress group; field in class:MulticastAddress
55 private MulticastAddress(InetAddress group, int port, NetworkInterface interf) { argument
56 this.group = group;
61 InetAddress group() { method in class:MulticastAddress
62 return group;
77 * Parses a string of the form "group:port[@interface]", returning
85 // get group and port
90 throw new IllegalArgumentException("group:port expected");
109 // get group addres
[all...]
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DMulticastChannel.java39 * a <em>group</em> that is zero or more hosts identified by a single destination
55 * join a group and receive all multicast datagrams sent to the group. A channel
56 * may join several multicast groups and may join the same group on several
64 * is used to begin receiving datagrams sent to a group whose source address matches
67 * <em>cumulative</em> and this method may be invoked again with the same group
86 * multicast group corresponds to another protocol family. For example, it is
88 * socket can join an {@link StandardProtocolFamily#INET IPv4} multicast group and receive
89 * multicast datagrams sent to the group. </p></li>
98 * required to allow multiple members of the group t
180 join(InetAddress group, NetworkInterface interf) argument
228 join(InetAddress group, NetworkInterface interf, InetAddress source) argument
[all...]
H A DAsynchronousServerSocketChannel.java120 * the given group. If the group parameter is <tt>null</tt> then the
122 * bound to the <em>default group</em>.
124 * @param group
125 * The group to which the newly constructed channel should be bound,
126 * or <tt>null</tt> for the default group
131 * If the channel group is shutdown
135 public static AsynchronousServerSocketChannel open(AsynchronousChannelGroup group) argument
138 AsynchronousChannelProvider provider = (group == null) ?
139 AsynchronousChannelProvider.provider() : group
[all...]
H A DMembershipKey.java34 * group.
37 * to the group, or it may be <em>source-specific</em>, meaning that it
67 * <p> A multicast group membership is valid upon creation and remains
81 * datagrams sent to the group. If the membership key is source-specific
82 * then the channel will no longer receive datagrams sent to the group from
86 * datagrams sent to the group. This can arise when datagrams are waiting to
88 * then the channel may {@link MulticastChannel#join join} the group again
92 * If the multicast group membership is already invalid then invoking this
93 * method has no effect. Once a multicast group membership is invalid,
116 * is not the same address type as the multicast group
158 public abstract InetAddress group(); method in class:MembershipKey
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DPosixFileAttributes.java55 * Returns the group owner of the file.
57 * @return the file group owner
61 GroupPrincipal group(); method in interface:PosixFileAttributes
H A DUserPrincipalLookupService.java31 * An object to lookup user and group principals by name. A {@link UserPrincipal}
33 * in a file system. A {@link GroupPrincipal} represents a <em>group identity</em>.
35 * name or group name (which are typically user or account names). Whether names
36 * and group names are case sensitive or not depends on the implementation.
37 * The exact definition of a group is implementation specific but typically a
38 * group represents an identity created for administrative purposes so as to
39 * determine the access rights for the members of the group. In particular it is
81 * Lookup a group principal by group name.
83 * <p> Where an implementation does not support any notion of group the
102 lookupPrincipalByGroupName(String group) argument
[all...]
H A DPosixFileAttributeView.java39 * file <em>owner</em>, <em>group-owner</em>, and related <em>access
46 * for the purposes of access control. The {@link PosixFileAttributes#group()
47 * group-owner}, represented by a {@link GroupPrincipal}, is the identity of the
48 * group owner, where a group is an identity created for administrative purposes
49 * so as to determine the access rights for the members of the group.
55 * <em>execute</em> access for the file owner, group, and others (others
56 * meaning identities other than the owner and members of the group). Some
87 * <td> "group" </td>
101 * the permissions, owner, or group
192 setGroup(GroupPrincipal group) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/regex/
H A DMatchResult.java33 * groups and group boundaries can be seen but not modified through
54 * Returns the start index of the subsequence captured by the given group
62 * @param group
63 * The index of a capturing group in this matcher's pattern
65 * @return The index of the first character captured by the group,
66 * or <tt>-1</tt> if the match was successful but the group
74 * If there is no capturing group in the pattern
77 public int start(int group); argument
92 * captured by the given group during this match.
99 * @param group
114 end(int group) argument
135 public String group(); method in interface:MatchResult
172 group(int group) argument
[all...]
/openjdk7/jdk/test/java/lang/ThreadGroup/
H A DStop.java35 private static final ThreadGroup group = new ThreadGroup(""); field in class:Stop
36 private static final Thread first = new Thread(group, new Stop());
37 private static final Thread second = new Thread(group, new Stop());
47 // When the first thread runs, it will stop the group.
51 group.stop();
54 // that the stopped thread group was successful
64 // Launch two threads as part of the same thread group
68 // Wait for the thread group stop to be issued
78 // first thread terminates the thread group.
H A DSuspend.java34 private static final ThreadGroup group = new ThreadGroup(""); field in class:Suspend
35 private static final Thread first = new Thread(group, new Suspend());
36 private static final Thread second = new Thread(group, new Suspend());
44 group.suspend();
55 // Launch two threads as part of the same thread group
59 // Wait for the thread group suspend to be issued
64 // Suppose, the thread group is now suspended
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DBasicMulticastTests.java44 InetAddress group,
49 group.getHostAddress(), nif.getName());
51 ProtocolFamily family = (group instanceof Inet4Address) ?
59 MembershipKey key = dc.join(group, nif);
60 MembershipKey other = dc.join(group, nif);
68 if (!key.group().equals(group))
69 throw new RuntimeException("group is incorrect");
83 key = dc.join(group, nif, source);
84 other = dc.join(group, ni
43 membershipKeyTests(NetworkInterface nif, InetAddress group, InetAddress source) argument
[all...]
/openjdk7/jdk/test/java/nio/channels/spi/AsynchronousChannelProvider/
H A DProvider1.java50 (AsynchronousChannelGroup group) throws IOException
57 (AsynchronousChannelGroup group) throws IOException
49 openAsynchronousSocketChannel(AsynchronousChannelGroup group) argument
56 openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) argument
H A DProvider2.java50 (AsynchronousChannelGroup group) throws IOException
57 (AsynchronousChannelGroup group) throws IOException
49 openAsynchronousSocketChannel(AsynchronousChannelGroup group) argument
56 openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) argument
/openjdk7/jdk/src/share/back/
H A DThreadGroupReferenceImpl.c35 jthreadGroup group; local
39 group = inStream_readThreadGroupRef(env, in);
49 threadGroupInfo(group, &info);
63 jthreadGroup group; local
67 group = inStream_readThreadGroupRef(env, in);
77 threadGroupInfo(group, &info);
91 jthreadGroup group; local
95 group = inStream_readThreadGroupRef(env, in);
108 error = JVMTI_FUNC_PTR(gdata->jvmti,GetThreadGroupChildren)(gdata->jvmti, group,
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/visitor/
H A DXSTermFunctionWithParam.java43 T modelGroup( XSModelGroup group, P param ); argument
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsAsynchronousChannelProvider.java69 private Iocp toIocp(AsynchronousChannelGroup group) throws IOException { argument
70 if (group == null) {
73 if (!(group instanceof Iocp))
75 return (Iocp)group;
80 public AsynchronousServerSocketChannel openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) argument
83 return new WindowsAsynchronousServerSocketChannelImpl(toIocp(group));
87 public AsynchronousSocketChannel openAsynchronousSocketChannel(AsynchronousChannelGroup group) argument
90 return new WindowsAsynchronousSocketChannelImpl(toIocp(group));
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/
H A DLeaky.java56 Connection(AsynchronousChannelGroup group) throws Exception { argument
62 client = AsynchronousSocketChannel.open(group);
92 AsynchronousChannelGroup group =
98 connections[i] = new Connection(group);
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ui/
H A DEnableButton.java57 private Group group; field in class:EnableButton
67 public EnableButton(Group group, int type) { argument
69 this.group = group;
77 Node.Iterator children = group.getRecursiveChildIterator();
/openjdk7/jdk/src/share/classes/sun/rmi/runtime/
H A DNewThreadAction.java41 * The new thread may be created in the system thread group (the root
42 * of the thread group tree) or an internally created non-system
43 * thread group, as specified at construction of this class.
53 /** cached reference to the system (root) thread group */
57 ThreadGroup group = Thread.currentThread().getThreadGroup();
59 while ((parent = group.getParent()) != null) {
60 group = parent;
62 return group;
67 * special child of the system thread group for running tasks that
69 * the system thread group wil
78 private final ThreadGroup group; field in class:NewThreadAction
83 NewThreadAction(ThreadGroup group, Runnable runnable, String name, boolean daemon) argument
[all...]
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Decp_384.c286 ec_group_set_gfp384(ECGroup *group, ECCurveName name) argument
289 group->meth->field_mod = &ec_GFp_nistp384_mod;
290 group->meth->field_mul = &ec_GFp_nistp384_mul;
291 group->meth->field_sqr = &ec_GFp_nistp384_sqr;

Completed in 79 milliseconds

123456