Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,145 for mbean (0.04 sec)

  1. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/TestMBeanAttributeProvider.java

            private final String mbean;
            private final String attribute;
            private final Class<?> type;
    
            public AttributeKey(String mbean, String attribute, Class<?> type) {
                this.mbean = mbean;
                this.attribute = attribute;
                this.type = type;
            }
    
            public String mbean() {
                return mbean;
            }
    
            public String attribute() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 21:48:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/DefaultMBeanAttributeProvider.java

    @NonNullApi
    public class DefaultMBeanAttributeProvider implements MBeanAttributeProvider {
        @Override
        public <T> T getMbeanAttribute(String mbean, final String attribute, Class<T> type) {
            Exception rootCause;
            try {
                ObjectName objectName = new ObjectName(mbean);
                return Cast.cast(type, ManagementFactory.getPlatformMBeanServer().getAttribute(objectName, attribute));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 21:48:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MBeanAttributeProvider.java

    import org.gradle.api.NonNullApi;
    
    @NonNullApi
    public interface MBeanAttributeProvider {
        /**
         * Calls an mbean method if available.
         *
         * @throws UnsupportedOperationException if this method isn't available on this JVM.
         */
        <T> T getMbeanAttribute(String mbean, String attribute, Class<T> type);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 21:48:34 UTC 2024
    - 991 bytes
    - Viewed (0)
  4. samples/bookinfo/src/reviews/reviews-wlpcfg/servers/LibertyProjectServer/server.xml

        <httpEndpoint host="*" httpPort="9080" httpsPort="-1"
                      id="defaultHttpEndpoint"/>
    
        <webContainer deferServletLoad="false"/>
        <applicationMonitor dropinsEnabled="false" updateTrigger="mbean"/>
        <config updateTrigger="mbean"/>
    
    
        <executor coreThreads="5"/>
    
        <webApplication contextRoot="/" id="reviews-app" location="reviews-application-1.0.war" name="reviews-app"/>
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 17:00:23 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MBeanOsMemoryInfo.java

            if (total == -1) {
                throw new UnsupportedOperationException("Unable to retrieve total physical memory from MBean");
            }
            if (free == -1) {
                throw new UnsupportedOperationException("Unable to retrieve free physical memory from MBean");
            }
            return new OsMemoryStatusSnapshot(total, free);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 21:48:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/util/MyBean.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.util;
    
    /**
     * @author higa
     */
    public class MyBean {
    
        /**
         *
         */
        public String aaa;
    
        /**
         *
         */
        public String bbb;
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 803 bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/Bean.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot.impl
    
    class Bean implements Serializable {
        String prop
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 715 bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            MySingletonBean bean = container.lookup(MySingletonBean.class);
            assertNotNull(bean);
            assertNotNull(bean.anotherBean);
            assertSame(bean.anotherBean.getClass(), AnotherBean.class);
            assertNotNull(bean.myBean);
            assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class);
    
            assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
    
            sessionScope.enter();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 12:52:20 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final MyBean src = new MyBean();
            src.aaa = "aaa";
            final MyBean dest = BeanUtil.copyBeanToNewBean(src, MyBean.class);
            assertThat(dest.aaa, is("aaa"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_beanToNewMap() throws Exception {
            final MyBean src = new MyBean();
            src.aaa = "aaa";
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/test/fixtures/AbstractProjectBuilderSpec.groovy

    import org.gradle.internal.execution.BuildOutputCleanupRegistry
    import org.gradle.internal.execution.WorkValidationContext
    import org.gradle.internal.execution.impl.DefaultWorkValidationContext
    import org.gradle.internal.properties.bean.PropertyWalker
    import org.gradle.test.fixtures.file.CleanupTestDirectory
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.gradle.testfixtures.internal.ProjectBuilderImpl
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:13:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top