UserCodeDeploymentConfig function ( String arg0 ) { this . providerFilter = arg0 ; return this ; }
filter to constraint members to be used for classloading request when a user class is not available locally . filter format : has_attribute : foo this will send classloading requestsonly to members which has a member attribute foo set . value is ignored , it can be any type . a present of the attribute is sufficient . this facility allows to have a fine grained control on classloading . you can e.g. start hazelcast lite members dedicated for class-serving . example usage : this member will load classes only from members with the class-provider attribute set.it wo n't ask any other member to provide a locally unavailable class : config hazelcastconfig = new config ; usercodedeploymentconfig usercodedeploymentconfig = hazelcastconfig.getusercodedeploymentconfig ; usercodedeploymentconfig.setproviderfilter has_attribute : class-provider ; hazecastinstance instance = hazelcast.newhazelcastinstance hazelcastconfig ; this member is marked with the class-provider attribute - the member configured above may him it to provide a class which is not locally available : config hazelcastconfig = new config ; memberattributeconfig memberattributes = hazelcastconfig.getmemberattributeconfig ; memberattributes.setattribute `` class-provider '' , `` true '' ; hazecastinstance instance = hazelcast.newhazelcastinstance hazelcastconfig ; setting the filter to null will allow to load classes from all members . default : null concode_field_sep String blacklistedPrefixes concode_elem_sep ProviderMode providerMode concode_elem_sep ClassCacheMode classCacheMode concode_elem_sep String whitelistedPrefixes concode_elem_sep String providerFilter concode_elem_sep boolean enabled concode_field_sep String getProviderFilter concode_elem_sep UserCodeDeploymentConfig setEnabled concode_elem_sep UserCodeDeploymentConfig setWhitelistedPrefixes concode_elem_sep boolean isEnabled concode_elem_sep String getBlacklistedPrefixes concode_elem_sep UserCodeDeploymentConfig setBlacklistedPrefixes concode_elem_sep String getWhitelistedPrefixes concode_elem_sep UserCodeDeploymentConfig setProviderMode concode_elem_sep UserCodeDeploymentConfig setClassCacheMode concode_elem_sep ProviderMode getProviderMode concode_elem_sep ClassCacheMode getClassCacheMode